Viewing 15 posts - 1,051 through 1,065 (of 1,162 total)
You cannot shrink a log file below the initial size it was created with.
I believe the steps you'll need to take are:
1) Detach the database
2) Rename/delete the old log file
3)...
March 29, 2010 at 8:24 am
It's very difficult to answer this sort of question without:
a) a clear definition of what the actual problem is
b) some sample data/DDL
See here for more detail:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
Taking a complete stab in...
March 29, 2010 at 6:36 am
Hi,
Probably best off looking up Query Hints in BOL:
http://msdn.microsoft.com/en-us/library/ms181714.aspx
It's pretty straight forward
March 24, 2010 at 3:43 am
Lookup Row_Number() in BOL:
http://msdn.microsoft.com/en-us/library/ms186734.aspx
Combining this with a CTE should get you what you need.
If you post some sample data and the expected result, I'm sure someone can post a...
March 22, 2010 at 7:35 am
You could create new partitions in Filegroups of appropriate sizes, switch the partitions to the new ones then drop the old filegroups...
Having said that, can data for previous months ever...
March 22, 2010 at 6:14 am
Could you post the actual execution plans with and without use of the parameters?
Edit: May be redundant after seeing Paul's post 🙂
March 18, 2010 at 4:31 am
Nope, that won't work. Compatibility mode has nothing to do with the database version.
You cannot restore back to SQL 2005 from 2008. Your only option is to script all of...
March 17, 2010 at 8:41 am
I use all of the above on a Windows 7 Proffesional laptop and it works fine.
Make sure you apply SP1 and set Management Studio to Run as Administrator though.
March 15, 2010 at 4:52 am
No, that's not the case.
Log shipping consists of 3 basic operations. Backup, Copy and Restore.
By default data is backed up every 15 minutes and there are jobs automatically created that...
March 12, 2010 at 9:02 am
To answer the question of why it supports Log Shipping but not Mirroring is probably more down to the QA teams at Microsoft rather than the architecture not supporting it....
March 12, 2010 at 7:54 am
Not sure I entirely understand your requirement. Are you using <= as "less than or equal to" or are you simply pointing to the columns to explain the logic?
The following...
March 12, 2010 at 4:34 am
I'd suggest posting the code you've written, even though it works and carefully explaining the problem you have with the real code. It at least shows that you've put some...
March 10, 2010 at 10:23 am
It's difficult to tell from a partial screenshot and without seeing what's in any of these items, but it looks as if you've set all of this up within a...
March 8, 2010 at 10:19 am
Well, mathematically speaking you can have any positive/negative number as an exponent but I'm really intrigued as to what the business logic is for needing this.
Care to elaborate?? 🙂
March 5, 2010 at 9:24 am
Yes, but if the value of column 1 is positive, you don't want to make the result negative, hence the case statement in my post
March 5, 2010 at 8:48 am
Viewing 15 posts - 1,051 through 1,065 (of 1,162 total)