Viewing 15 posts - 736 through 750 (of 2,486 total)
Ahhh .... Ok, progressing in leaps and bounds now ... in that case you should do the update.
SET NOCOUNT ON------------------------- -- create and populate testing source table DECLARE @Asgnmnt TABLE(CallID...
September 25, 2005 at 10:41 pm
Check the paragraph headed "Temporary Tables" in the description for CREATE TABLE in Books Online. If this doesn't clarify things then submit another post explaining what you don't understand.
September 25, 2005 at 10:26 pm
Let me just get past the reson you would want to do this as temp tables are created uniquely for the connection anyway.
I think your problem is to do with...
September 25, 2005 at 9:50 pm
What is returned for just the select portion?
SELECT CallID, GroupName
, CASE
WHEN GroupName = 'SD Followup' then 'Y'
ELSE 'N'
END as CustPendCase
FROM Asgnmnt
September 25, 2005 at 9:44 pm
Hmmm ... don't know if I'd want to support a community that doesn't use the technology ...
September 25, 2005 at 5:15 pm
I don't think you actually need the update part. You can include your CASE in the SELECT,
DECLARE @table TABLE(CallID VARCHAR(8), GroupName VARCHAR(15), CustPendCase VARCHAR(1)) INSERT @table(CallID, GroupName, CustPendCase) SELECT...
September 25, 2005 at 4:54 pm
This script resides in an ActiveXScript task that executes before your datapump. You set this up using the workflow. I've always found this article to be a good example of...
September 23, 2005 at 1:58 am
I presuming you, restarted the services after changing the option
You might even need a full server reboot...
September 23, 2005 at 1:53 am
September 22, 2005 at 11:51 pm
"...with the data found in the actual tables..."
So you would need to reference those table in the FROM clause.
EG:
INSERT @table(CallID, GroupName, CustPendCase)
SELECT CallID, GroupName, NULL
FROM <your table...
September 22, 2005 at 11:48 pm
What edition of SQL Server are you running?
September 22, 2005 at 11:14 pm
Using DTS to drop and re-create the tables is not the approach you should be taking here.
If you can't perform delete/update/insert statements to update the destination tables, then a...
September 22, 2005 at 8:00 pm
"INSERT @table(Asgnmnt.CallID, Asgnmnt.GroupName, CustPendCase)
SELECT CallID, GroupName, NULL UNION ALL
SELECT CallID, GroupName, CustPendCase FROM @table"
For the highlighted statement, there is no FROM clause so where are the columns coming...
September 22, 2005 at 7:41 pm
What edition of SQL Server are you using? How much data is being held on the server? Why do you need to fix the minimum and maximum sizes?
You could also...
September 22, 2005 at 7:27 pm
"Be nice. I'm a developer..."
That's ok, I forgive you because "I hate cursors..."
September 22, 2005 at 5:34 am
Viewing 15 posts - 736 through 750 (of 2,486 total)