Viewing 15 posts - 24,676 through 24,690 (of 59,099 total)
Jpotucek (1/23/2014)
I have several databases that have high amounts of unallocated space like this:
MYDatabase (dbsize)8037.00 MB(unallocated space)4665.81 MB
This info was obtained by running sp_spaceused.
What...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 23, 2014 at 2:23 pm
AND the SQL Server logs unless you've instantiated the trace flag that turns off reporting of successful backups.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 23, 2014 at 2:15 pm
saifmahatab (1/23/2014)
I am new in SQL server so I need desperate help in doing Unit Testing for bunch of stored procedure that I wrote. So my manager told me to...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 23, 2014 at 2:14 pm
Andy DBA (1/23/2014)
Also, sometimes it's just as valuable to learn what can't be done as it is...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 23, 2014 at 1:36 pm
Thanks folks. Heh... I aim to please... I sometimes miss but I'm always aiming. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
January 23, 2014 at 9:27 am
KenpoDBA (1/23/2014)
Good job on this one. It's to the point and gives good practical advice.
I notice though that with everyone who...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 23, 2014 at 7:47 am
Koen Verbeeck (1/23/2014)
It's a great one though and I'm sure I'll refer to it soon in the future...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 23, 2014 at 6:59 am
mohan.bndr (1/21/2014)
Can you please describe the responsibilites of TempDB in 2005/2008....
You really should do a Web Search for things like that. Seriously.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2014 at 4:59 pm
GilaMonster (1/21/2014)
sys.dm_exec_requests join sys.dm_exec_sessions cross apply sys.dm_exec_sql_text.
That and a quick trip to the desk of the person who invoked the rogue query along with the appropriate pork chop launcher and...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2014 at 4:56 pm
A view cannot accept parameters. [font="Arial Black"]A view CAN, however, read from a table. Put your parameter in a table [/font]and then read from the view which reads...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2014 at 4:43 pm
PHYData DBA (1/22/2014)
Jeff Moden (1/22/2014)
mtassin (1/22/2014)
Jeff Moden (1/21/2014)
what I've seen on the query plan is that it typically grabs the few rows from the calendar table with a clustered index...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2014 at 2:37 pm
mtassin (1/22/2014)
Jeff Moden (1/21/2014)
what I've seen on the query plan is that it typically grabs the few rows from the calendar table with a clustered index scan (yes a terrible...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2014 at 1:43 pm
Thanks folks. I sure do appreciate the tips and assurances.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 22, 2014 at 1:36 pm
I forgot to ask. Would you be looking up a DayPeriod to get the Date or would you be looking up the Date to get the DayPeriod?
--Jeff Moden
Change is inevitable... Change for the better is not.
January 21, 2014 at 11:52 pm
mtassin (1/21/2014)
Jeff Moden (1/21/2014)
Peter,
I know that a non-persisted computed column saves space but it's also recalculated on every use and non-indexable. Since the data won't actually ever change, I'd...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 21, 2014 at 9:23 pm
Viewing 15 posts - 24,676 through 24,690 (of 59,099 total)