Viewing 15 posts - 7,531 through 7,545 (of 7,636 total)
You've got quotes inside your name brackets:
['Temp..']
March 14, 2008 at 1:33 pm
Does it all need to be done in a single maintenance window?
If not, consider breaking it up into multiple maintenance windows.
March 14, 2008 at 1:12 pm
Nick M. (3/13/2008)
Note: this is a simplified example but it covers the point.
...
So ideas on how avoid cursors (or a while loop which...
March 14, 2008 at 12:38 pm
Just to clarify: Yes, you can use "S" as a table name.
March 14, 2008 at 11:46 am
The sysobjects table returns a list of every object in the database. One of the columns is Object Type which is "P" for a stored procedure, "V" for a...
March 14, 2008 at 11:40 am
In a tree repesentated by the hierarchy id, nodes are shown as /1/, /1/1/, /1/2/, /1/2/3/, etc. In this representation, what would the "2" repesent?
Choose your answer:
Nodes at the...
March 14, 2008 at 11:35 am
divecon (3/13/2008)
It's late here in TX, USA so I missed the max part. Last question, I hope, how do you handle all the embedded quotes?
You have to double them up....
March 14, 2008 at 7:07 am
divecon (3/13/2008)
My original design for this project was to check the...
March 13, 2008 at 11:07 pm
The way that you can do this is to "Nest" your SQL command batches by using [font="Courier New"]EXEC('string')[/font].
This dynamic execution of SQL has its own batch that ends when the...
March 13, 2008 at 8:48 pm
It is also worth noting that a column list alias can have the same name as any of the source columns. This works because it is an output attribute...
March 13, 2008 at 3:14 pm
The clauses of SQL have an order of evaluation, specified by the standards as follows:
FROM clause
WHERE clause
GROUP BY clause
HAVING clause
column list (SELECT clause)
This means that...
March 13, 2008 at 3:11 pm
brekher (3/13/2008)
March 13, 2008 at 3:01 pm
Try this:
Select c.Name, g.Name, Count(u.CityId)
From User u
Right outer Join Group g ON (g.ID = U.GroupID
And u.Joindate Between @startdate and @enddate)
Right outer Join City c...
March 13, 2008 at 12:57 pm
oraculum (3/13/2008)
March 13, 2008 at 12:41 pm
Viewing 15 posts - 7,531 through 7,545 (of 7,636 total)