Viewing 15 posts - 18,811 through 18,825 (of 59,098 total)
charipg (12/28/2015)
is it correct ?SELECT * FROM tablename(nolock) where
startdate >= Getdate() -6
and enddate <= Getdate()
Maybe... it depends on what you define as "days ago". If you mean...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2015 at 9:54 pm
lmarkum (12/28/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2015 at 9:45 pm
Don't limit your educational endeavors. Get the Developers Edition. It's usually less than $65USD somewhere. You'd pay almost that much for a good book.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2015 at 5:05 pm
kenksoftware (12/28/2015)
We are building an ETL project that is going to take hundreds of legacy data fields and place them into XML fields in a new SQL server database
Have you...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2015 at 5:03 pm
mw112009 (12/28/2015)
(:-P I will run it and findout whether our server is configured correctly to send email)
If it turns out to not be setup and no one wants to...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2015 at 4:56 pm
ScottPletcher (12/28/2015)
I'd at least compare the performance of the straightforward brute-force method:
Agreed. You absolutely should. Please build a million row test table with demonstrable postable code, do...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2015 at 4:51 pm
regrahc (12/17/2015)
Please excuse the "newbie" question, but I have an issue I haven't been able to work out. Trying to do a bulk insert of a .csv into a...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2015 at 4:48 pm
Alan.B (12/28/2015)
Someone beat me to it but NOLOCK table hints are the #1 mistake I have seen.
Heh... apparently, thousands of people agree with you. Instead, they use SET...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2015 at 4:42 pm
dwilliscp (12/28/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2015 at 4:38 pm
Hyabusact (12/28/2015)
Thank you, I even understood it
Scott's code works a treat for what you've done but storing Boolean markers horizontally in a table doesn't lend itself well to other things...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2015 at 10:30 am
TheSQLGuru (12/28/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2015 at 9:19 am
Grant Fritchey (12/28/2015)
Jeff Moden (12/28/2015)
Grant Fritchey (12/28/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2015 at 9:04 am
Grant Fritchey (12/28/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2015 at 7:44 am
johnwalker10 (12/27/2015)
Or
- Detach the database
- Rename/Move the log file
- Attach the MDF database file without the LOG file; a new...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 27, 2015 at 11:20 pm
BWAAAA-HAAA!!! To0 funny! But, Nah... a "wheelie" on a unicycle is the hop you need to do to go up the stairs.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 27, 2015 at 11:15 pm
Viewing 15 posts - 18,811 through 18,825 (of 59,098 total)