Viewing 15 posts - 1,891 through 1,905 (of 2,894 total)
You can just place your code surrounded with special tags which you can see on the left side of the text box where you're typing your post...
March 15, 2012 at 5:44 am
Jayanth_Kurup (3/15/2012)
March 15, 2012 at 5:42 am
To get time as HH:MM:SS from seconds, you don't need to calculates hours, minutes and seconds, format and concatenate them separately. You can just use one of standard CONVERT options:
DECLARE...
March 15, 2012 at 5:35 am
Sean Lange (3/14/2012)
...The upside of manually updating your queries is it gives you a perfect opportunity to evaluate them and make some performance improvements.
And also securing your job for few...
March 15, 2012 at 4:34 am
logavina (3/14/2012)
UPDATE T_PRICE
SET VAR =
CASE
WHEN PRICE <> 0 AND...
March 15, 2012 at 4:31 am
mayur birari (3/14/2012)
Thanks for the reply.
The foreign key of A goes into 2 more tables just like table B. But those are not huge tables like table B. So idea...
March 14, 2012 at 8:43 am
SQLKnowItAll (3/13/2012)
March 13, 2012 at 11:17 am
basically the same thing.
That what I've thought from the beginning...
Look's like nothing better to discuss on Tuesday evening :hehe:
March 13, 2012 at 11:08 am
SQLKnowItAll (3/13/2012)
March 13, 2012 at 11:00 am
Quinn-793124 (3/13/2012)
Did I miss anything on the etiquette page?I was able to creat and load on of the 2 tables.
Thanks
Quinn
No, you didn't! However, if you try to populate data in...
March 13, 2012 at 10:57 am
Or, even simpler:
delete post
from swap Pre
join swap Post
on Post.id = Pre.pre
and pre.id = Post.post
and...
March 13, 2012 at 10:27 am
I'm not sure if I'm correctly understood your reqs...
Still my try:
delete Post
from swap Pre
join swap Post on Post.id = Pre.pre
where exists (select 1 from swap linked
...
March 13, 2012 at 10:25 am
ok, let's correct my words:
It does not make query to run any faster! It just makes query to return required number of rows (n) immediately as they were found.
The...
March 13, 2012 at 10:13 am
SQLKnowItAll (3/13/2012)
Is there a non-clustered index on Table B for personid?
It's defined as PRIMARY KEY CLUSTERED in the OP posted DDL...
March 13, 2012 at 10:10 am
Viewing 15 posts - 1,891 through 1,905 (of 2,894 total)