Viewing 15 posts - 17,401 through 17,415 (of 26,484 total)
ragie (1/15/2010)
I am writing a stored proc where I query a table for a distinct list of values. & then for each row returned, i need to insert a...
January 15, 2010 at 12:36 pm
Mauve (1/15/2010)
Lynn Pettis (1/15/2010)
I don't read the QotD in the newsletter, I read it on SSC.
And it is best to answer later in the day as the question is usually...
January 15, 2010 at 12:11 pm
Love you must the easy ones.
January 15, 2010 at 12:05 pm
Ready to smack yourself on the forehead??
SET @start_dt = (SELECT dateadd(hh, 19, dateadd(day,datediff(day,0,GetDate())- 9,0)))
SET @end_dt = (SELECT dateadd(hh, 19, dateadd(day,datediff(day,0,GetDate())- 2,0)))
January 15, 2010 at 11:58 am
Do the two select statements in your original post get you the correct starting and ending dates (not asking about time)?
January 15, 2010 at 11:50 am
I don't read the QotD in the newsletter, I read it on SSC.
January 15, 2010 at 11:08 am
In a test environment, try this:
delete from dbo.Table1
from
dbo.Table1 t1
left outer join dbo.Table3 t3
on (t1.OrdID...
January 15, 2010 at 10:52 am
Kevin Gill (1/15/2010)
Whenever I miss the intended point of one of these questions, it's usually because I've not paid attention...
January 15, 2010 at 10:30 am
Kevin Gill (1/15/2010)
Even though I would have got it wrong had it actually been asking...
January 15, 2010 at 10:16 am
A thought I had, what if the DBA interviewer was actually trying to see one or more of the following:
1) How you handle pressure/adversity
2) How much training will this candidate...
January 15, 2010 at 10:12 am
If your database is using either BULK_LOGGED or FULL recovery models, you need to set up transaction log backups to manage the growth of the transaction log. If you...
January 15, 2010 at 9:56 am
In your case, you need to remove the commas from the string. I'd also recommend using the date/time style, especially if you know the the dates are all formated...
January 15, 2010 at 9:32 am
Viewing 15 posts - 17,401 through 17,415 (of 26,484 total)