Viewing 15 posts - 4,351 through 4,365 (of 7,191 total)
The view you are trying to use is only available in SQL Server 2005 onwards. Your database is in SQL Server 2000 compatibility mode. Is there any reason...
September 14, 2012 at 2:02 am
Yes, of course I'm serious, and I even took the trouble to explain why. Note that I used the word "consider" - I didn't say it was appropriate for...
September 14, 2012 at 1:48 am
I would recommend backing up the databases first, in case the worst happens, which it has done for me before. Given that you have taken a backup, you may...
September 13, 2012 at 8:57 am
The top row by what? Age of vehicle? Price of vehicle? Date vehicle added to invoice? Please also provide some table DDL and sample data.
John
September 11, 2012 at 4:43 am
MVDBA (9/6/2012)
shrinking the data file will give you fragmentation..... shrinking the log file won't
Yes, it will - it is likely to cause physical fragmentation on the disk (at least...
September 6, 2012 at 5:02 am
You need to understand why the log file grew to the size it is. If it was through normal database activity, then there's no use shrinking since it will...
September 6, 2012 at 4:45 am
If it helps, you can set up a custom counter in performance monitor to return the number of rows in each of the tables you are interested in.
John
September 6, 2012 at 3:26 am
That's interesting - it contradicts what you said in your original post. Never mind - please will you describe how you're doing the backup of your database? If...
September 5, 2012 at 9:28 am
Excellent. Always good when the product behaves as documented.
John
September 5, 2012 at 9:16 am
September 5, 2012 at 9:12 am
I'm still not entirely clear what you mean, but if you mean what I think you mean, this should get you started:
DECLARE
@Nowdatetime
,@Startdatedate
,@Enddatedate
SELECT
@Now= CURRENT_TIMESTAMP
SELECT -- startdate is date portion of two...
September 5, 2012 at 8:59 am
So what are you looking for, dockets that are more than two months old, less than two months old, or exactly two months old? Not sure whether your second...
September 5, 2012 at 8:37 am
Steve, I think this[/url] is the link you refer to.
We use the verify option on all our backups here, but we also have an automated process for test restoring our...
September 5, 2012 at 8:31 am
George
I think it depends. The ideal solution is for them to develop the solution on their own systems (possibly a copy of your database) and provide you with a...
September 5, 2012 at 3:00 am
You don't specify defaults in the query, you put them in the table definition. See the ALTER TABLE topic in Books Online for details. If you can't,...
September 5, 2012 at 1:40 am
Viewing 15 posts - 4,351 through 4,365 (of 7,191 total)