Viewing 15 posts - 7,426 through 7,440 (of 7,608 total)
On my SQL 2005 version and my SQL 2008 versions, it accepts sp_rename for that index name:
USE tempdb
CREATE TABLE dbo.nasty_index_name_test ( c1 int )
GO
CREATE NONCLUSTERED INDEX [<Name of Missing Index,...
May 29, 2012 at 1:03 pm
What do you mean "doesn't work"? It won't even initiate the rename process?
May 29, 2012 at 12:59 pm
If the tables have identity columns, you can use $IDENTITY as the column name.
If not, you might have to dynamically generate the code based on unique indexes on the table...
May 29, 2012 at 10:50 am
You can rename an index through SSMS; just backspace over the old name, and type in the new one.
May 29, 2012 at 10:44 am
if that SPID is still using CPU resources?
No, not CPU (except perhaps a tiny amount periodically to check it for activity).
Connections themselves have some RAM overhead.
But since creating/destroying connections is...
May 24, 2012 at 1:07 pm
User dbs will definitely work ok to a later SP.
Master will definitely NOT work; master MUST be exactly the same version.
Not sure about msdb, but apparently same rules apply as...
May 24, 2012 at 12:07 pm
I have never-ever seen YYYY-MM-DD to fail
Please try this 🙂 :
SET DATEFORMAT dmy
SELECT CAST('20120524' AS datetime)
SELECT CAST('2012-05-24' AS datetime)
May 24, 2012 at 10:51 am
The universally accepted date format for SQL Server is "YYYYMMDD" (as in 20120524), not YYYY-MM-DD, which different installations will treat differently (and some will error out).
May 24, 2012 at 8:51 am
SQL itself won't allow you to restore an older master db (not sure about the model db, but it likely doesn't contain critical data anyway). Something else must be...
May 23, 2012 at 4:07 pm
Partitioning could indirectly help performance, as follows:
-- make it possible/faster to rebuild/reorg current yr's data only;
-- each partition can be separately specified as uncompressed/compressed (SQL 2008+ only).
May 22, 2012 at 3:13 pm
Exactly Paul; well put.
May 15, 2012 at 8:17 am
Both of above tables are properly indexed.
The overall process takes around 1 hour to execute the query.
I gotta say, those two statements seem contradictory 🙂 or you're on a terribly...
May 14, 2012 at 4:43 pm
Either one.
Adding a rowversion column to every table would indeed be huge overhead for no real gain, since it likely would never be used. Eight bytes per row would...
May 14, 2012 at 3:40 pm
True. I didn't explicitly mention it, but I meant using standard/approved methods, such as generating the legit commands:
CREATE LOGIN
EXEC sp_addlinkedserver
etc..
With the old master db there, you could get (almost)...
May 14, 2012 at 1:02 pm
You should be able to restore the master db to a different db name, if you want to pull data from the old master db directly in the SQL 2008...
May 14, 2012 at 12:50 pm
Viewing 15 posts - 7,426 through 7,440 (of 7,608 total)