Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase «««1234»»

The Importance of Reading Comments Expand / Collapse
Author
Message
Posted Tuesday, June 11, 2013 4:50 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 2:21 PM
Points: 6,484, Visits: 13,952
Manie Verster (6/10/2013)
You have chosen to link a rather ancient article that covers SQL Server 7.0, 2000, 2005 which is no longer relevant. Under SQL Server 2000 you had to detach a user db to move it as the alter database command was only valid for tempdb files


Perry, I don't know why you say this is an ancient article because after having had a look at it again I saw SQL Server 2012 at the top of the page??????

Since you feel the need to mock, it might pay you to read properly the article links

The link here details this!!
Microsoft KB
Article ID: 224071 - Last Review: July 16, 2012 - Revision: 19.0
Applies to
•Microsoft SQL Server 2005 Standard Edition
•Microsoft SQL Server 2005 Enterprise Edition
•Microsoft SQL Server 2005 Developer Edition
•Microsoft SQL Server 2005 Workgroup Edition
•Microsoft SQL Server 2005 Express Edition
•Microsoft SQL Server 2000 Standard Edition
•Microsoft SQL Server 7.0 Standard Edition

Keywords: kbsqlsetup kbinfo KB224071




Manie Verster (6/10/2013)
I would, however, like to know what is actually the best to do. Move or detach an attach taking in consideration that there is no replication on the database to be moved?

If you bother to read my article instead of mocking you'll see that ALTER DATABASE is the supported option. In SQL Server 7.0 and 2000 you had to detach as ALTER DATABASE did not support user databases!!

This is the correct KB article from Microsoft.


-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs"
Post #1461990
Posted Tuesday, June 11, 2013 5:40 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Friday, July 25, 2014 5:21 AM
Points: 1,205, Visits: 923
Perry Whittle (6/11/2013)
Manie Verster (6/10/2013)
You have chosen to link a rather ancient article that covers SQL Server 7.0, 2000, 2005 which is no longer relevant. Under SQL Server 2000 you had to detach a user db to move it as the alter database command was only valid for tempdb files


Perry, I don't know why you say this is an ancient article because after having had a look at it again I saw SQL Server 2012 at the top of the page??????

Since you feel the need to mock, it might pay you to read properly the article links

The link here details this!!
Microsoft KB
Article ID: 224071 - Last Review: July 16, 2012 - Revision: 19.0
Applies to
•Microsoft SQL Server 2005 Standard Edition
•Microsoft SQL Server 2005 Enterprise Edition
•Microsoft SQL Server 2005 Developer Edition
•Microsoft SQL Server 2005 Workgroup Edition
•Microsoft SQL Server 2005 Express Edition
•Microsoft SQL Server 2000 Standard Edition
•Microsoft SQL Server 7.0 Standard Edition

Keywords: kbsqlsetup kbinfo KB224071




Manie Verster (6/10/2013)
I would, however, like to know what is actually the best to do. Move or detach an attach taking in consideration that there is no replication on the database to be moved?

If you bother to read my article instead of mocking you'll see that ALTER DATABASE is the supported option. In SQL Server 7.0 and 2000 you had to detach as ALTER DATABASE did not support user databases!!

This is the correct KB article from Microsoft.


If I was mocking anyone then it was myself. It surely was not my intention to mock you or anyone on SSC. You see I have been a developer now for only 13 years and in 2006 I was thrown in at the deep end and told to administer a client's database. You could not fathom the value of knowledge I got from SSC. One guy, Jeff Moden, knows how I argued with him about stuff and in the end I had to acknowledge that I do not have neaar the knowledge neede to argue or in your case mock anyone here. I do not know what article you are talking about that are ancient but clearly not mine so, I apologise for saying the wrong things to you. It was not my intention.


Manie Verster
Developer
Johannesburg
South Africa

I can do all things through Christ who strengthens me. - Holy Bible
I am a man of fixed and unbending principles, the first of which is to be flexible at all times. - Everett Mckinley Dirkson (Well, I am trying. - Manie Verster)
Post #1462012
Posted Tuesday, June 11, 2013 6:11 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Friday, July 25, 2014 5:21 AM
Points: 1,205, Visits: 923
Perry,

Thank you I actually did go and read your article and actually have learnt something new. I also saw another article that clearly explained the disadvantages of detach/attach.

I must honestly say that when I read that first article about moving database files I honestly thought the files would move when you run the script!


Manie Verster
Developer
Johannesburg
South Africa

I can do all things through Christ who strengthens me. - Holy Bible
I am a man of fixed and unbending principles, the first of which is to be flexible at all times. - Everett Mckinley Dirkson (Well, I am trying. - Manie Verster)
Post #1462032
Posted Tuesday, June 11, 2013 6:35 AM


Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, September 11, 2014 1:06 PM
Points: 12, Visits: 66
I didn't think Manie was being mocking, certainly not intentionally. Manie, I appreciate the humility you've shown in being willing to share your own mistakes so that we can learn from them! And Perry, it's great that you've taken the time to try to teach.
Post #1462046
Posted Tuesday, June 11, 2013 2:57 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, November 7, 2013 4:51 PM
Points: 9, Visits: 31
Reading the comments is especially useful when you are the person who wrote the script in the first place !
Post #1462386
Posted Tuesday, June 11, 2013 3:55 PM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Yesterday @ 1:53 PM
Points: 35,366, Visits: 31,905
Manie Verster (6/11/2013)
Jeff Moden (6/10/2013)
Nice article, Mannie. Yes... I absolutely agree. Reading the comments is important. That's why most of the scripts I post on the forums say "Details are in the comments."

Thanks Jeff. I respect and honor you as a seasoned DBA and have already learned a lot from you but clearly not enough.


Thanks, Manie. I'm right there with you. "Seasoned" or not, I learn something new about SQL just about every day.

Keep up the good work, ol' friend.


--Jeff Moden
"RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".

First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."

(play on words) "Just because you CAN do something in T-SQL, doesn't mean you SHOULDN'T." --22 Aug 2013

Helpful Links:
How to post code problems
How to post performance problems
Post #1462407
Posted Wednesday, June 12, 2013 10:33 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Friday, July 25, 2014 5:21 AM
Points: 1,205, Visits: 923
Perry, I hope we are at peace now. I have a feeling I can still learn a lot from you.

Manie Verster
Developer
Johannesburg
South Africa

I can do all things through Christ who strengthens me. - Holy Bible
I am a man of fixed and unbending principles, the first of which is to be flexible at all times. - Everett Mckinley Dirkson (Well, I am trying. - Manie Verster)
Post #1462719
Posted Wednesday, June 12, 2013 11:04 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 2:21 PM
Points: 6,484, Visits: 13,952
No problem we're all here to help one another

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs"
Post #1462903
Posted Friday, June 14, 2013 7:17 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, June 14, 2013 7:16 AM
Points: 5, Visits: 0
Welcome to http://www.likesurprise.com//

where is the most popular Panthers online shop.


((( http://www.likesurprise.com/ )))

lower price fast shippment with higher quality!!

WE ACCEPT CREDIT CARD /WESTERN UNION PAYMENT
YOU MUST NOT MISS IT!!!
Post #1463554
Posted Friday, June 14, 2013 7:17 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, June 14, 2013 7:16 AM
Points: 5, Visits: 0
Welcome to http://www.likesurprise.com//

where is the most popular Panthers online shop.


((( http://www.likesurprise.com/ )))

lower price fast shippment with higher quality!!

WE ACCEPT CREDIT CARD /WESTERN UNION PAYMENT
YOU MUST NOT MISS IT!!!
Post #1463555
« Prev Topic | Next Topic »

Add to briefcase «««1234»»

Permissions Expand / Collapse