Viewing 15 posts - 1 through 15 (of 56 total)
Steve Jones - SSC Editor (2/2/2012)
Kelly Connor (2/2/2012)
Twitter is for twits.
Maybe, but there is a large, very active SQL Server community on twitter and we use it daily to bond,...
February 2, 2012 at 4:28 pm
USE master;
GO
EXEC sp_attach_single_file_db @dbname = 'YourDatabase',
@physname = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\YourDatabase_Data.mdf';
make sure there isn't a YourDatabase_log.ldf in there
OR
USE [master]
GO
CREATE DATABASE [YourDatabase] ON
( FILENAME =...
January 18, 2012 at 3:43 pm
Yea just delete that log file (or move it) and try again.
I've gotten that error before. Quick easy fix.
January 18, 2012 at 3:12 pm
Where did you get your mdf from? Was it a clean shutdown?
If so, you can try sp_attach_single_file_db or CREATE DATABASE [dbname] FOR ATTACH
January 18, 2012 at 1:46 pm
@Jeff, your audience must be on a more advanced level than mine here. I usually have to explain even the concept of a common table expression: "It's almost like a...
August 17, 2011 at 3:17 am
Highly offended. :angry:
Just kidding. I was fine back on the second or third post. You guys kind of blew it up (like that rbar picture).
It's been an enjoyable read though.
August 16, 2011 at 10:06 pm
I see your point but at the same time they have removed other functions that I HAVE used.
I guess this one can't really be replaced.
thanks for your insight though.
August 16, 2011 at 2:33 am
I was just going for 3 variables but I do appreciate the explanation.
So if ALL isn't useful. Why still keep it around? MSSQL is released every couple years. You'd...
August 16, 2011 at 1:29 am
Thanks Sean, but I'm not sure that would work.
DECLARE @a int = 123,
@b-2 int = 0 ,
@C int =102733019
select case when
...
August 15, 2011 at 2:13 pm
Oh good ol proofs. Discrete math, how I miss thee.
I need to have the logic in place so that if one is zero, the whole thing still works. Like this:
DECLARE...
August 14, 2011 at 9:38 pm
After reading this and trying it out, I not only got it to work, I even understand it!
Even though it's an old topic, it helped me out a lot.
Thanks people!
August 14, 2011 at 4:30 pm
On that note make sure that it's 'reason' and not "reason" in the SP's
SET QUOTED_IDENTIFIER ON could make that blow up.
It might be worth it to set up profiler and...
August 9, 2011 at 2:56 pm
mosaic-287947 (5/30/2011)
sturner (5/24/2011)
I don't understand the meaning of mediocre and always put for forth 110% ... and yes, I'm worth more than 5%.... anytime anywhere.
I admire your self-confidence but (with...
May 30, 2011 at 3:55 pm
I think DBAs are going to have to learn BI. I recently went to a MS BI conference and learned a lot.
It was a little wake up call though when...
May 30, 2011 at 3:44 pm
Actually I fixed this problem. I added an index on the table that I used in the function. This sped things right back up.
Have you tried adding some indexes?
May 25, 2011 at 9:21 pm
Viewing 15 posts - 1 through 15 (of 56 total)