Viewing 15 posts - 16 through 30 (of 50 total)
Hi Jason,
Thanks so much for your response --
I see how what you proposed makes it a single statement, but my main goal was to accomplish the UPDATE using a single...
March 14, 2013 at 6:21 am
The irony here is that we deleted all of those records so that we could save space. But obviously that never happened.....
I learn something about SQL Server every day --...
November 19, 2012 at 1:18 pm
Hi Perry,
Yes, we have recently deleted a large amount of rows. In fact I was just in touch with Paul Randal about this, and he suggested that it might...
November 19, 2012 at 1:05 pm
Hi Perry,
Thanks for your help --
BACKUP statement:
BACKUP DATABASE <dbname> TO DISK = 'D:\safetybackups\dbname.bak' with init, stats = 10
Table DDL:
CREATE TABLE [dbo].[Table1](
[PersistingId] [int] IDENTITY(1,1) NOT NULL,
[PayrollId] [int] NOT NULL,
[PayrollData]...
November 19, 2012 at 10:08 am
A bit more info --
I just did a fresh restore from the original .bak file (204GB)
sp_spaceused reports:
namerowsreserveddataindex_sizeunused
PayrollDataStore49824 123979096 KB123897912 KB2528 KB78656 KB
Performed a backup to...
November 19, 2012 at 7:16 am
OK - many not sleeping better just yet....
Originally I ran the DBCC UPDATEUSAGE WITH NO_INFOMSGS, COUNT_ROWS, so I thought that perhaps I missed something.
I just went to the source...
November 19, 2012 at 6:24 am
Gail and Perry - thanks so much for your help.
Both servers run SQL 2008R2. The source server is running RTM, and the new server is running SP2.
The database...
November 19, 2012 at 6:12 am
Hi Gail,
Thanks for your reply. I have some more info about the situation, and it seems quite strange to me.
Just to make sure I wasn't going crazy, I transferred...
November 18, 2012 at 9:51 pm
Hi Perry,
Thanks for your reply.
I ran scripts to create users, roles and other permission/security related stuff. My scripts do not touch any user tables.
Will run the process again...
November 18, 2012 at 11:22 am
Thanks to all who have replied.
Steve - by SSD I mean Solid State Drives.
I did ran SQLIO when the server was first built. But then I discovered that...
November 2, 2012 at 4:35 pm
MS only sells licenses for SQL 2012 now.
I'm not sure of your situation, but if your company purchases licenses in bulk, i.e. through a Volume License Reseller, I think...
September 24, 2012 at 12:12 am
One further thought - I'm not sure what the earliest version of SQL Server that Powershell work with, so it might not be a viable solution.
September 21, 2012 at 8:21 am
There are a number of ways to do this --
Servername, sqlservername,drive, totaldrivespace and availabledrivespace details
@@servername returns the machine name and sql instance name
xp_fixeddrives returns the drives and available drive space....
September 21, 2012 at 8:20 am
Does the instance in question utilize Read Committed Snapshot Isolation? This makes extensive use of TempDB.
sqlnyc
September 19, 2012 at 7:43 am
Hi Tim,
Thanks for your reply - we will be using FTP to copy the regular nightly backup to our dev server, so no need to use COPY_ONLY. But thanks for...
September 18, 2012 at 8:53 pm
Viewing 15 posts - 16 through 30 (of 50 total)