Viewing 15 posts - 16 through 30 (of 81 total)
Yes, Chirag... that's precisely what I've been considering. I'm going to look into this option right away as its a lot more convenient. I have a couple of SPs that...
March 24, 2008 at 11:19 pm
Thanks rbarryyoung 🙂
March 24, 2008 at 10:21 pm
It should've been:
SELECT DATEDIFF(yy, 'DOB', GETDATE()) -
CASE WHEN DATEPART(m, 'DOB') >= DATEPART(m, GETDATE())
AND DATEPART(d, 'DOB') > DATEPART(d, GETDATE())
THEN 1 WHEN DATEPART(m, 'DOB') >= DATEPART(m, GETDATE())
AND...
March 6, 2008 at 10:04 am
Thanks a ton, Jeff... I'm so relieved.
I thought I was gonna have to re-write my import process, which took me ages to write in the first place.. what with all...
March 6, 2008 at 9:03 am
Jeff Moden (3/6/2008)
March 6, 2008 at 7:37 am
Jeff Moden (3/6/2008)
Nisha, it depends... is the code for high hit ratio GUI code or is it for batch code that runs every once in a while?
Ooh.. sorry.. seems like...
March 6, 2008 at 7:09 am
Jacob
March 6, 2008 at 6:26 am
Piotr Rodak (3/5/2008)
Also the configuration of tempdb database may have impact on performance of temp tables.
How do I check the configuration of tempdb? What should I be looking at, Piotr?...
March 6, 2008 at 4:58 am
Grant Fritchey (3/5/2008)
What this is doing is using the temp table in place of a join or joins. That's bad.
True, I couldn't agree more.
Grant Fritchey (3/5/2008)
March 6, 2008 at 4:40 am
Are you looking for something like this?
IF (@TicketID>0)
BEGIN
SELECT * from Tickets
WHERE UserID= '10'
AND TicketID=@TicketID
END
ELSE IF (@TicketID<=0)
BEGIN
SELECT * from Tickets
WHERE UserID= '10'
END
March 5, 2008 at 2:23 am
Superb, guys! Thank you soooo much, Matt, Lynn and Gsquared!!! Now I just need to decide which suits me better! Tough choice!
Matt Miller (3/4/2008)
March 5, 2008 at 12:10 am
Matt Miller (2/29/2008)
March 3, 2008 at 11:12 pm
I tried these earlier, people...
Problem is, the result set of this query is to be returned to the hand held device through an SP. And using the UNION operator in...
March 3, 2008 at 11:09 pm
Geez!! I feel so foolish! Thanks ALZDBA, thanks Adam!
The export took me like 5 mins!!!!
See post
http://www.sqlservercentral.com/Forums/Topic462157-146-1.aspx?Update=1
if any one needs to know exactly why I was doing all this 🙂
Thanks...
March 3, 2008 at 10:56 pm
Ok.. first.. sorry about the time lapse between my first post and this reply.
I guess I hurriedly posted my query and I was very vague.
Let me tell you what's really...
March 3, 2008 at 10:53 pm
Viewing 15 posts - 16 through 30 (of 81 total)