Automatic tuning

Technical Article

RE: Copy DB to another DB on the same Server?

  • Reply

I would suggest that you create a new database on the same server. You then need to retrive info on the datbase you setup using sp_helpdb NewDatabase. This together with info from the original database can be used in the following query to restore the database into the new location.restore database DatabaseName from disk = 'G:\..\DatabaseBackup.BAK' […]

2005-04-14

Technical Article

RE: how do write this query

  • Reply

To wirte 1 query I'll use rfrancisco's codeSELECT TOP 100 percent RIC AS RIC1,'' as SVCode, count(*) FROM YourTable WHERE Compliant = 1 GROUP BY RICUNION ALLSELECT top 100 percent '' as RIC1, SVCode, count(*) FROM YourTable WHERE Compliant = 1 GROUP BY RIC, SVCodeORDER BY RIC1 DESC, SVCode 

You rated this post out of 5. Change rating

2005-04-05

Technical Article

RE: Devlopment and production environment

  • Reply

Changing a cluster name is fraught with problems, I speak from experience < grin >, moving the databases about is fine, I have 8 environments where we do this on a regular basis - if you're going to move the logins with master make sure you recreate your servers with the databases in the same dbid […]

You rated this post out of 5. Change rating

2005-04-05

Technical Article

RE: view syntax

  • Reply

No problem, glad you help.  There are definitely some simple "best practices" to follow, but you are right that there is lot of ignorance regarding these.  And people still argue against these practices, or actually recommend breaking them (as you saw from the article).  Craziness.   People seem to figure they should BREAK the rules unless […]

You rated this post out of 5. Change rating

2005-02-07

Blogs

Updating dbatools–Fixing the Certificate Failure

By

I was trying to update my dbatools install to test something and go this...

Classifications and sensitivity labels in Microsoft Purview

By

I see a lot of confusion on how classifications and sensitivity labels work in...

PASS Data Community Summit: A Personal Journey

By

As someone attending the event since 2011, I would like to share my personal...

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers