Viewing 15 posts - 32,011 through 32,025 (of 49,552 total)
Jeff Moden (7/3/2010)
Steve Jones - Editor (7/2/2010)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 3, 2010 at 10:16 am
Why so many filegroups?
There's no procedure that let's you restore without specifying things like files. I suggest that you write a script that generates the restore statement for each database...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 3, 2010 at 7:27 am
The latest is always called ERRORLOG
And not all traceflags cause things to be written to the error log. 1222 was one specific example that I gave. There are traceflags that...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 3, 2010 at 7:25 am
Your CASE statements need to be terminated with an END
SELECT CASE
WHEN @enddate BETWEEN DATEADD(YEAR, -3, @Startdate) AND @Startdate THEN '0'--'valid'
ELSE '1'--'not valid'
END AS ValidDates
I'm not sure...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 3, 2010 at 6:20 am
As I said, server-side traces (just like Profiler) lets you see when various things happen in SQL (stored procedure begins, stored procedure ends, login succeeds, login fails, etc)
Traceflags change the...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 3, 2010 at 6:07 am
I've never done anything longer than a half-day training session. I'd be very nervous submitting for a full-day precon.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 3, 2010 at 5:02 am
Server-side traces (sp_create_trace) and traceflags (DBCC traceon) are completely different concepts.
Server-side traces are essentially profiler traces without the GUI, they log when events occur on the instance being traced, such...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 3, 2010 at 5:00 am
rajendra prasad-377679 (7/3/2010)
hey gail,i didnt have any sample data and everything its just scenario which my TL gave to me.
Then I think you need to go back to your TL...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 3, 2010 at 3:26 am
This is a SQL Server forum (as in Microsoft SQL Server, the database engine), not a general IT forum. You'll get far better answers and help if you find a...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 3, 2010 at 1:39 am
ISA Server? As in MS's firewall and internet security tool? This is a SQL Server forum, does your question have anything to do with SQL Server?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 3, 2010 at 1:26 am
In my opinion, replication is to be used for scale out, creating reporting databases and the like
Mirroring is to be used for high availability.
Bear in mind that, in mirroring, the...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 3, 2010 at 1:25 am
Please don't cross post. It just wastes peoples time and fragments replies.
No replies to this thread please. Direct replies to: http://www.sqlservercentral.com/Forums/Topic947146-291-1.aspx
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 3, 2010 at 1:23 am
rajendra prasad-377679 (7/2/2010)
THANKS FOR UR SUPPORT.i want to do that by using cursor program not in trigger..
It's highly unlikely this needs a cursor and I don't see what a trigger...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 3, 2010 at 1:21 am
Please post table definitions, sample data and desired output. Read this to see the best way to post this to get quick responses.
http://www.sqlservercentral.com/articles/Best+Practices/61537/
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 2, 2010 at 11:41 am
Ok, so you need to identify why the log is growing and resolve that, not just blindly shrink something that's trying to grow. Have you checked how much (if any)...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 2, 2010 at 11:09 am
Viewing 15 posts - 32,011 through 32,025 (of 49,552 total)