Update whole record or dynamic TSQL in procedure?
I am on a new project and we are looking at having a wide table and I am wondering if anyone has done any measurement of whether it is better to have a procedure to carry out an update from the web app...
View ArticleSource Controlling Proposed Enviroment & Suggestions
Looking for advice from those who have successfully source controlled their environment. Current Enviroment: All devs in production making changes out of date dev enviroment, not really used yet Source...
View ArticleWhen are cursors appropriate?
I am normally ardently against using cursors whenever possible. However, a recent project I've been tasked with has me wondering when it is OK to break this rule. I work for a school district. There...
View ArticleWhy is it considered a best practice to avoid inline SQL?
I have seen in a number of discussions the idea that it is a best practice to avoid inline SQL. Some seem to be of the opinion that inline SQL should be absolutely forbidden. However, most places that...
View ArticleStoring numbers as CHAR where no calculation will ever happen
Hello everyone, I guess this is more of a best practice question. When you have data which contains numbers that will never be used for any aggregation should you store them as an INT or CHAR? An...
View ArticleTracking a Scenario - Best Practices of Index Identification for a table
Say I have created a fresh Employee table with a layout similar to the one would normally find in the AdventureWorks database (ID, FirstName, LastName, Address etc. etc.). This table will be one of the...
View ArticleWhat should be in a DBA database?
Hi everyone. I often hear DBAs at conferences talk about their "DBA database" where they hold all manner of tables for processes/statistics/baselines etc. I'm not a DBA however I am now managing our DB...
View ArticleTaking over from a DBA. What should you find out?
Hi, I am moving companies and taking over from the new companies only DBA. What sort of questions would you ask before they leave? I have a list of general questions (Back-ups/restore/HA/DR etc) but I...
View ArticleSQL Server with large database
Hi Experts, I have a database which is growing rapidly and will reach 100GB shortly. I would like to know whether SQL Server 2008 will handle more than 100GB databases? What are the best practices to...
View ArticleSQL Server 2012 Environments Setup Best Practice
We are a small consulting shop, with about 12 end users for SSAS and SSRS. We at the point we need a separate DEV environment. So is it better to create another instance for the DEV environment, or...
View ArticleSSIS design standards document
I have been tasked with creating a SSIS design standards document for my organisation however am not sure where to begin. I have searched many sites and have come across lots of suggested best...
View ArticlePage verify for SQL 2012 Master Data Service
A client of mine installed Master data service and they haven't changed any db options, but the PAGE VERIFY is not set to CHECKSUM. Does anyone have an idea why Master data service is installed without...
View ArticleBest practice for keeping track of data changes
![alt text][1] [1]: /storage/temp/3614-storing-changes.png So when a user makes a change in table 1 a (trigger (Whats best practiced to do this?) ) that sends that data to a second table to be stored...
View ArticleAlternative of migration to fix DB file structure
I have inherited SQL servers with DB's large (> 200GB) single file. I want to have DB's with multiple files and follow best practices of DB structure. Other than migration from old DB to new DB, is...
View ArticleSynonums or Fully Qualifed in stored procedures best practices questions
Does anyone have any documentation or best practices when you have a database of stored procedures that reference tables from other databases that are on the same server. Would you recomend synonums or...
View Article