Viewing 15 posts - 16 through 30 (of 64 total)
Hi Amrita,
Say, ur orders and orderdetail tables grow tremendously in that case anytimes joins would be better than subqueries..Becoz for a subquery for each outer query it will execute the...
July 29, 2005 at 5:12 am
Hey buddy, just a quick tip, y not create another object of type i.e. sp_OACreate 'ADODB.Command' and then try set the property using sp_OASetProperty for CommandType=adcmdstoredprocedure
and commandtext="ur proc name"..
By the...
July 29, 2005 at 4:34 am
hey it's ok buddy..sometimes same happens to me too 😉
July 29, 2005 at 3:19 am
Hi venku,
Just a comment here, y to use NOLOCK hint, i think sql Query Optimizer will choose the best hints so y to override the default behaviour and by the...
July 29, 2005 at 1:41 am
I tried thru QA, but it didnt work, I think your's is full backup and from Ent Manager, i guess u can do multiple backups for diff backups..I even tried...
July 29, 2005 at 1:28 am
Hi,
As per my knowledge, I don't think this is possible i.e. restoring multiple backups to a single database and also the thing here is, u cannot have multiple mdf files...
July 28, 2005 at 8:26 pm
But u can't use a #temp or create table within function body..u will have to either go the stored proc way or create a 1 column paramater table if u...
July 28, 2005 at 7:39 pm
Hi,
If I understand ur proc correctly, i believe this will run in a recursive fashion that means, whenever a delete statement is issued on orders table it will again invoked...
July 28, 2005 at 7:27 pm
What is the message you are getting?
July 28, 2005 at 6:52 pm
But the catch is how to execute this in a function i.e. i dun wanna hardcode "Nancy" instead of that i want to use say @lastname now, here is...
July 28, 2005 at 5:34 am
U can simply create a stored proc and pass parameter as createdate and then use insert statement to insert values into newusertable..
For coupons, as said u can use identity() function...
July 28, 2005 at 5:30 am
You cannot execute dynamic sql within a body of function unless its an extended stored procedure..u can do something like this in the body of function..
return(SELECT lastname
FROM OPENQUERY
(LkServer2,...
July 28, 2005 at 5:14 am
1.You can create a job setp and paste ur T-SQL in the step and the notifications you can define either a net-send operator or mail operator. But i'm afraid that...
July 27, 2005 at 11:24 pm
Sridhar,
Nothing with Query Analyzer i believe!
Maybe, u can put this query in a job and notify u by a netsend operator/mail operator. 2nd option wud be to write a small...
July 27, 2005 at 8:33 am
i dont know have a win2k box to check this..if i get one, will let u know but i believe there might be some setting or mite be something in...
July 27, 2005 at 8:19 am
Viewing 15 posts - 16 through 30 (of 64 total)