Viewing 15 posts - 7,351 through 7,365 (of 7,636 total)
Probably should be listed under "Scripts" instead of "Articles".
March 24, 2008 at 5:29 pm
At the bottom of your query window is a status bar with your connection information. First connect you session, then check to see what it says.
Now execute...
March 24, 2008 at 5:24 pm
You're almost there:
select
code,
description,
sum( Case When priority=1 Then Amount Else 0 End ),
sum( Case When priority=2 Then Amount Else 0 End ),
sum( Case When priority=3 Then Amount Else 0...
March 24, 2008 at 5:13 pm
Thanks for letting us know.
March 24, 2008 at 5:09 pm
Try adding "[font="Courier New"], @datasrc=@ServerName[/font]" to your [font="System"]sp_addlinkedserver[/font] statement.
March 24, 2008 at 5:02 pm
ISNULL does require two arguments and you have 2 ISNULL functions in that statement (only the outer one has the second argument). I suspect that you do not need...
March 24, 2008 at 4:14 pm
OK, on QA for SQL 2000 it is under the "Tools" menu, click the "Options" item, then select the "Connections" tab on the dialog that comes up. You should...
March 24, 2008 at 3:47 pm
Is this homework? And if it is, how much help are you allowed to have from sources like this one?
March 24, 2008 at 3:26 pm
Select ID
From Properties
Where ID Not IN (Select Assigned.PropertyID From Assigned)
March 24, 2008 at 2:30 pm
If [font="Courier New"]SELECT * FROM INFORMATION_SCHEMA.TABLES[/font] returns no output then either something like SET NOEXEC is preventing run from running or producing output, or else, you just do not have...
March 24, 2008 at 2:06 pm
I've wondered the same thing for 7 years. Let me know if you find out.
March 24, 2008 at 1:55 pm
Adam Bean (3/24/2008)
That works, thank you ... but can anyone explain why mine does not? It works perfect in 2005 ... this is driving me insane.
You had it right about...
March 24, 2008 at 1:44 pm
Right-click: "Query Options"...
under "Execution..Advanced" tab, uncheck "Disconnect after query executes"
--------------------
Is someone practicing April Fool's jokes early today?
March 24, 2008 at 1:38 pm
Viewing 15 posts - 7,351 through 7,365 (of 7,636 total)