Home All Groups Group Topic Archive Search About

SQL Server database programming

microsoft.public.sqlserver.programming
Score Newbie question for Report Server
letmesleep - 22 Dec 2006 3:51 PM - 1 message
I have a select statement joining several tables.  An aggregate report will be deployed in Reporting Services.  On the Layout tab, I have a table where I want to place the results. For example, I have the following result set from the table join ...
Score strange type conversion error with datetime...
Tim Mackey - 21 Dec 2006 6:39 PM - 1 message
hi, i've spent ages puzzling over this, and read similar situations on the net but it's usually a different problem of people using 'dd mm yyyy' format instead of 'dd mmm yyyy'.  using sql 2005. i have a very straight forward stored procedure, with a datetime parameter ...
Score Problem setting default value
jws - 21 Dec 2006 3:28 PM - 1 message
With SQL Server 2005, this is producing a syntax error- ALTER TABLE mytable ALTER COLUMN mycolumn SET DEFAULT 'something'; Yet google finds references that claim that syntax is supported. What is the correct syntax? ...
Score UPDATE varchar(max) column using INNER JOIN with SQL2005
jesse.gavin - 20 Dec 2006 5:37 PM - 1 message
I have a tabled named bvc_Product and it has a parent-child relationship.  I need to update the LongDescription column on all the Child records with the LongDescription of the Parent record. So I tried the following: NOTE:  LongDescription is of the type nvarchar(max) ...
Score Is it possible to concatenate more then 2 columns using pl/sql
D - 20 Dec 2006 3:59 PM - 1 message
Just curious, I'm looking to CONCAT(AREACODE,'-',PHONE_NUM) is this possible using pl/sql. I know I can CONCAT(AREACODE,PHONE_NUM) but I need more than two columns/values concatenated. Thanks! ...
Score SQL2005 login
simonZ - 20 Dec 2006 2:42 PM - 1 message
I changed port on sql2005 to 1400. From local computer I can connect to server (IP,1400) with sql login(sqldev) and everything works. If I try to connect to the same sql server from other computer, I get an error. ...
Score Stepped Sequential Query
ricky - 19 Dec 2006 2:11 PM - 1 message
Hello I have a few queries that I wish to consolidate in to one, however I am not sure if it possible. Is it possible to execute an SP within another SP and wait for it to finish and then proceed with the next step? ...
Score Select distinct problems
Beau D'Amore - 18 Dec 2006 7:49 PM - 1 message
Here's my issue ======== history table to select from has the following columns: Acct_id, Threshold, DateCreated In this table, there are multiple rows that contain the same Acct_id & threshold but all DateCreated dates are different. (its a history table as well as the reference for the last threshold) ...
Score Clustered Index Not Working
Mary Fetsch - 18 Dec 2006 5:47 PM - 8 messages
I have a unique clustered index on a table in SQL Server 2000.  Its columns are Year (descending), Grove, Ticket.  The table's primary key is different than the clustered index. It was my understanding some time ago that if I created a clustered index on ...
Score ISNULL
wnfisba - 18 Dec 2006 5:27 PM - 1 message
I have this calculation in which I have to reverse a negative number. I am trying this syntax to no avail. Can someone give me an alternative or do I have to CASE out all my subtotal buckets??? Any help is greatly appreciated. ...
Score How to compare two tables of same structure using a hash/checksum
KarenM - 17 Dec 2006 9:51 AM - 1 message
I have a source table and target table of the same structure. My source table is a staging table I want to read records in my source table and if the record does not exist in the target table do a insert ...
Next »