Viewing 15 posts - 736 through 750 (of 2,487 total)
Nice article, but you forgot to mention one trick, or should I say chore
Refresh, refresh, refresh and if you still can't find...
--------------------
Colt 45 - the original point and click interface ![]()
September 26, 2005 at 5:20 am
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...
--------------------
Colt 45 - the original point and click interface ![]()
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.
--------------------
Colt 45 - the original point and click interface ![]()
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...
--------------------
Colt 45 - the original point and click interface ![]()
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
--------------------
Colt 45 - the original point and click interface ![]()
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 ...
--------------------
Colt 45 - the original point and click interface ![]()
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...
--------------------
Colt 45 - the original point and click interface ![]()
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...
--------------------
Colt 45 - the original point and click interface ![]()
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...
--------------------
Colt 45 - the original point and click interface ![]()
September 23, 2005 at 1:53 am
Also, take a look at this article,
http://www.sql-server-performance.com/awe_memory.asp
--------------------
Colt 45 - the original point and click interface ![]()
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...--------------------
Colt 45 - the original point and click interface ![]()
September 22, 2005 at 11:48 pm
What edition of SQL Server are you running?
--------------------
Colt 45 - the original point and click interface ![]()
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...
--------------------
Colt 45 - the original point and click interface ![]()
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...
--------------------
Colt 45 - the original point and click interface ![]()
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...
--------------------
Colt 45 - the original point and click interface ![]()
September 22, 2005 at 7:27 pm
Viewing 15 posts - 736 through 750 (of 2,487 total)