SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


The Importance of Consistent Server Setup


The Importance of Consistent Server Setup

Author
Message
bkubicek
bkubicek
SSCrazy Eights
SSCrazy Eights (9K reputation)SSCrazy Eights (9K reputation)SSCrazy Eights (9K reputation)SSCrazy Eights (9K reputation)SSCrazy Eights (9K reputation)SSCrazy Eights (9K reputation)SSCrazy Eights (9K reputation)SSCrazy Eights (9K reputation)

Group: General Forum Members
Points: 9035 Visits: 1056
Comments posted to this topic are about the item The Importance of Consistent Server Setup
henrik staun poulsen
henrik staun poulsen
SSCertifiable
SSCertifiable (5.2K reputation)SSCertifiable (5.2K reputation)SSCertifiable (5.2K reputation)SSCertifiable (5.2K reputation)SSCertifiable (5.2K reputation)SSCertifiable (5.2K reputation)SSCertifiable (5.2K reputation)SSCertifiable (5.2K reputation)

Group: General Forum Members
Points: 5226 Visits: 1324
Hi Ben,

When I see code that hard-code a database name, I shudder. It must be really old code, because today I prefer to create an abstraction layer, ie. a view that references that table in the other database.
Then I have a sproc that re-creates all those views, whenever the database name changes.

I agree that it is a good idea to have similar environments, so that dev., test and production servers look and feel the same.

Best regards
Henrik



jay-h
jay-h
SSCoach
SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)SSCoach (15K reputation)

Group: General Forum Members
Points: 15656 Visits: 2783
We run parallel, but not identical names for the databases, servers and tables
company_Prod_Price_List
company_Dev_Price_list

Helps keep people straight as to where they're working and avoids accidently running a script on the wrong db.

...

-- FORTRAN manual for Xerox Computers --
RonKyle
RonKyle
One Orange Chip
One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)

Group: General Forum Members
Points: 26901 Visits: 4461
Different clients have different setups. But one for which I do the most development set up a very consistent Dev and Prod environment and it makes things so much easier. At the last place I was an employee, we had a very consistent setup for DEV, TEST, and PROD. Again made things so much easier.



IowaDave
IowaDave
Ten Centuries
Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)

Group: General Forum Members
Points: 1327 Visits: 643
jay-h - Friday, October 12, 2018 7:23 AM
We run parallel, but not identical names for the databases, servers and tables
company_Prod_Price_List
company_Dev_Price_list

Helps keep people straight as to where they're working and avoids accidently running a script on the wrong db.


We do as well. In fact, I just assumed everyone did it that way. Ben's editorial gave me food for thought ...
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search