Viewing 15 posts - 10,681 through 10,695 (of 49,566 total)
Clean pages aren't moved to disk. The only pages that are written back to disk are dirty pages, so the lazy writes/sec measures the total number of pages per sec...
December 10, 2013 at 3:10 am
dan-572483 (12/9/2013)
December 9, 2013 at 2:10 pm
declare FindFragment cursor for
SELECT object_id, '['+name+']' FROM #IndexFrag WHERE (avg_fragmentation_In_Percent > 5) and (avg_fragmentation_In_Percent < 40) and (name not like 'null')
Or don't spend time re-inventing the wheel and use http://ola.hallengren.com/sql-server-index-and-statistics-maintenance.html
December 9, 2013 at 9:01 am
It won't.
Please read through this: http://www.sqlservercentral.com/articles/Administration/64582/
December 9, 2013 at 8:02 am
I stand by what I said earlier. Sounds like some process is logging in every couple of days and updating the table to old values. Check logs, set up a...
December 9, 2013 at 8:00 am
What are the definitions of the two tables?
December 9, 2013 at 7:45 am
A rollback could not cause that unless you had a transaction open since November (and if you had, you'd have known by now due to the blocking and the tran...
December 9, 2013 at 7:45 am
Why? Unless you're dropping and recreating tables, the object id and column id will remain the same. They don't change at random times for no reason. If you're frequently dropping...
December 9, 2013 at 6:57 am
Code please (and maybe use people's names not their forum status?)
SQL won't skip lines in a procedure so there's something odd going on, possibly stuff failing silently.
December 9, 2013 at 5:23 am
Columns are uniquely identified by the combination of object_id (for the table) and column_id. They don't have a single unique ID of their own.
The only time a table's object_ID can...
December 9, 2013 at 4:32 am
Igor's not the OP.
Tina, any chance you could post the definitions of the procedure having the problem? Also, consider putting PRINT statements or using RAISERROR to raise informational messages to...
December 9, 2013 at 4:04 am
To restore master you need to take the server down, restart it in single user mode, restore then restart again. Running scripts to create logins requires no downtime at all....
December 9, 2013 at 3:37 am
twin.devil (12/9/2013)
IgorMi (12/9/2013)
Yes there is TRY .. CATCH in T-SQL - http://technet.microsoft.com/en-us/library/ms175976.aspxRegards,
IgorMi
ahaan nice, thats why your procedure is in the silent mode 🙂
Igor just said there is a try-catch construct...
December 9, 2013 at 3:33 am
I generally recommend not restoring master from one server to another. Script the logins, server-level roles and permissions and linked servers and apply on the new server.
December 9, 2013 at 3:29 am
Jeff Moden (12/8/2013)
December 8, 2013 at 11:49 pm
Viewing 15 posts - 10,681 through 10,695 (of 49,566 total)