Viewing 15 posts - 811 through 825 (of 4,745 total)
this is the meat of sp_spaceused when used against a single table so their are differences in how it is calculating it
/*
** Now calculate the summary data.
* Note...
February 1, 2013 at 10:22 am
total size included the log file. What size is your transaction log?
February 1, 2013 at 9:38 am
also the restore job will report success even if it did not actually restore any logs because it could not find any with correct LSNs.
It sounds as if your logs...
January 31, 2013 at 9:52 am
Grant Fritchey (1/31/2013)
January 31, 2013 at 5:55 am
if your application is the type that runs as a service and jumps into SQL as soon as it detects it running you could hit problems with the upgrade in...
January 31, 2013 at 5:52 am
or use the bcp utility, likely to be the fastest method.
else you are going to need a third party tool
January 31, 2013 at 4:50 am
then scripting out the alter login commands the one time is your best bet, and running the script after each restore. If the amount of logins constantly changes, use dynamic...
January 31, 2013 at 4:24 am
script upgrade mode is the last step in the upgrade of an instance for 2008 onwards (IIRC). After you install the upgrade, the next time you start SQL it will...
January 30, 2013 at 4:32 pm
don't take the database offline per se (i.e. don't issue alter database set offline) but do plan an outage and stop all connections to the database before you start, and...
January 30, 2013 at 10:22 am
or this is the SQL used by SSMS when running disk usage report and gives you output similar to sp_spaceused (i.e. it includes index space)
SELECT TOP 1000
(row_number() over(order by (a1.reserved...
January 30, 2013 at 10:17 am
hows this:
SELECT
OBJECT_NAME(object_id) AS ObjectName
...
January 30, 2013 at 6:21 am
OP needs to decide if they want to move particular tables, nonclustered indexes, or just general data to the new drive. 😉
January 22, 2013 at 3:07 pm
those look like application generated errors rather than SQL ones.
Does the app refer to all objects by schema.name or just name? Sounds like the new version of the application...
January 22, 2013 at 2:56 pm
sounds like you need to create a new filegroup with its file on the new drive and then move your tables to it by recreating\creating its clustered index.
see -http://www.mssqltips.com/sqlservertip/2442/move-data-between-sql-server-database-filegroups/
January 22, 2013 at 1:52 pm
if you mean the initial size as shown via the database properties in SSMS this nomenclature is misleading, it is in fact that ACTUAL size of the file, including any...
January 22, 2013 at 8:29 am
Viewing 15 posts - 811 through 825 (of 4,745 total)