Viewing 15 posts - 20,836 through 20,850 (of 59,072 total)
ramana3327 (5/6/2015)
We are using Sql 20082 Standard edition. Data drive has enough free space but that table stores the errors that we don't required to store more than 3 months.
Understood....
--Jeff Moden
Change is inevitable... Change for the better is not.
May 6, 2015 at 9:43 am
minimay (5/5/2015)
Declare @Julycount int
Set @Julycount= (Select Count(*) From orders Where MONTH(OrderDate) = 7)
print 'The total orders for july is ' +...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 5, 2015 at 9:41 pm
ramana3327 (5/5/2015)
We have one large table with 6880875 records. It has created date. The min created date is a year ago but really we doesn't required to keep the data...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 5, 2015 at 9:34 pm
From the blog:[hr]
Joins: When coding outer joins, always order your data sources so that you can write left outer joins. Donβt use right outer joins, and never mix left...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 5, 2015 at 9:17 pm
Lynn Hendricks (5/5/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
May 5, 2015 at 9:03 pm
I'd be real careful about having a share on my SQL SERVER that has been given privs to EVERYONE. In fact, I don't generally allow any shares on my...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 5, 2015 at 5:59 pm
Ohhhhh, be REAL careful about using STR for formatting. Its slow and can be the source of rounding problems that you might not expect.
http://www.sqlservercentral.com/articles/T-SQL/71565/
I'll also state that, unless you're...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 5, 2015 at 5:52 pm
andyscott (5/5/2015)
Why have ISO when you can have Her Majesty's Revenue and Customs! π π π
Owwww!!!! So THAT's where that date comes from!
--Jeff Moden
Change is inevitable... Change for the better is not.
May 5, 2015 at 10:51 am
456789psw (5/5/2015)
#1 works, #2 dont. Just to make sure it was not a rights issue, I added everyone to the folder for #2 but no luck.
1. EXEC master..xp_cmdshell'bcp "SELECT...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 5, 2015 at 10:41 am
Now we know why the ISO Week was born. Removes a whole lot of all this guessing.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 5, 2015 at 8:15 am
RonKyle (5/5/2015)
Just a really simple idea.
Try setting PAD_INDEX = ON and FILLFACTOR = 80 as an initial step.
I recently did something like this in a situation you describe and it...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 5, 2015 at 8:13 am
Orlando Colamatteo (5/5/2015)
Jeff Moden (5/4/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
May 5, 2015 at 6:54 am
I don't understand why anyone would need to do this through PowerShell. Can someone who actually had such a need please explain? I'm looking for someone that actually...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 4, 2015 at 11:56 am
Excellent. Thank you for the feedback.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 4, 2015 at 10:39 am
There's also no excuse for people breaking out their "I've got 20 years of experience" rings. which looks like might have been the start of it all. Doesn't matter...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 4, 2015 at 9:41 am
Viewing 15 posts - 20,836 through 20,850 (of 59,072 total)