Viewing 15 posts - 16 through 30 (of 119 total)
if you mean how to read the syntax in the documentation, then I'd look up resources on BNF (Backus-Naur Form) or EBNF.
regards
Billy
March 22, 2004 at 4:07 pm
@traceid is returned to you. You cannot assign a value to @traceid. @traceid is returned to you because you need @traceid to start the trace you just created (eg. EXEC sp_trace_setstatus @TraceID,...
March 22, 2004 at 4:02 pm
hmm.. I also typed up a long response to this but it is not showing up after I click the post button (kinda frustrating).
anyways, stored procedures are good because they...
March 21, 2004 at 2:36 pm
Impressive! The people on this site never ceases to amaze me!
Billy
March 19, 2004 at 9:39 am
Thanks for your response. Well, that is an option. However, the amount of data not captured is related to the time it takes for someone to always remember to get back...
March 16, 2004 at 6:06 pm
how about a nested query?
below demonstrates this type of query.
using northwind as an example:
SELECT X.ORDERID, FREIGHT, (SELECT SUM(FREIGHT) FROM ORDERS Y WHERE Y.ORDERID <= X.ORDERID) AS RUNNING_TOTAL
FROM ORDERS X
ORDER BY...
March 15, 2004 at 2:26 pm
to see what permissions an object has, use
from BOL: Returns a report with information about user permissions for an object, or statement permissions, in the current database.
HTH
Billy
March 15, 2004 at 2:21 pm
what error number are you getting? is the database transaction log full or is there something that is preventing it from increasing in size?
HTH
Billy
March 15, 2004 at 2:14 pm
not sure if I understand the issue correctly but would using SET ROWCOUNT be suffice in this situation. what is the reason behind the need to break down the delete...
March 12, 2004 at 2:02 pm
The reason for not installing terminal services and sql server on same box is one regarding performance. I think I saw the same article on that website. They recommend dedicated...
March 4, 2004 at 12:52 pm
Somebody correct me if I am wrong but I think that when you use 99/2, you get 49 because both numbers are specified as integer. Even though the answer requires...
February 16, 2004 at 2:13 pm
SELECT 99/2 for me returns a result set of '49', not '49.0'.
February 16, 2004 at 1:47 pm
Raymond, you are on right track but you must remember that NULL concatentated with something is NULL.
When you first assign value to @x, @x is NULL.
Therefore you need to set...
February 15, 2004 at 12:16 pm
You are on the right track. You can load the results returned from the stored procedure into a temporary table and then retrieve it from there.
below is an example:
set nocount...
February 11, 2004 at 11:27 am
Thanks Phill for posting the rewritten LEFT JOIN query.
Actually, it now got me thinking which version of the query is indeed "more acceptable" even though you are not supposed to specify...
February 11, 2004 at 11:17 am
Viewing 15 posts - 16 through 30 (of 119 total)