DB archiving
I am using a SQL 2008 express edition. Windows Client-server architecture. Datalayer sits in the server. I am planning to implement database archiving and DB backup restore . the difference between...
View ArticleDatabase schema change and DB restore
I have a general design/strategy doubt. Suppose i have taken a backup of the DB some days back. Now i have added a column in a table of the DB and my bussiness layer is also using that value. Now i...
View ArticleDB upgrade
I am trying to figure out mechanisms for upgrading the DB. Presently i use SQL 2008.I have read that there are some tools (free as well paid) to check the difference of DB schemas. Also there is...
View ArticleDatabase versioning and source control
I have few queries on best practises of Database versioning. Suppose i have version as Major.Minor.Patch where Major: is the Schema compatible version with Application(i am planning to map it to major...
View ArticleDatabase backup,archive
I am implementing Database backup technique. Due to budget constraints i will be using SQL express as the DB. So i would like to a take periodic DB backup(say once in a month).Since SQL jobs are not...
View ArticleBackupof DB and transaction logs-Full recovery model
I am trying to implement the backup of DB programmatically. I have few questions.I am using MSSQL 2005 express edition. 1. I am calling a stored proc to take the backup of DB. (BACKUP Database...
View ArticleHow do i verify a DB backup
Suppose i have taken a DB backup, How do i verify if the backup is alright. I know about 'RESTORE VERIFYONLY FROM DISK', but i suppose this only checks if the backup is corrupt. What i want to check is...
View ArticleHow to write errorlog to the SQL errorlog file from stored proc
Suppose i am executing a stored proc . Lets there is an exception, how do i write the log in errorlog of MSSQL? I read about RAISERROR, i got to know that it basically throw exception message to the...
View ArticleDeleting DB entries
For ex: Lets say there are 100000 entries which i got after a date filter on a DB. now i want to delete those entries . How do i do that? The problem here would be that there will be linked tables...
View ArticleCommon Stored proc- usage related
Suppose I have generic stored procs for backup and restore. Where to run these stored procs from?is it fineto run from the master db? if not please suggest me the best practice.
View ArticleT-sql restore and transactions
i have seen a restore DB technique explained in this link. http://stackoverflow.com/questions/2510295/fully-automated-sql-server-restore/2510790#2510790 But the question is don't we need transactions...
View ArticleSQL extended proeprties?
Lets say i have 3 databases of type Device(might be three different versions),which will have different DB names like (Device1, Device2, Device3). Now i want to query the server and get all databases...
View ArticleSQL DB locking
I have an interesting question. The product uses SQL Express. Multiple data layers for DB communication are used. The layers are 1. Ado (legacy code, more of CRUD methods) 2. Ado .net(maintenance...
View Article,Restore filelist is terminating abnormally
Hello, i am trying to restore a backup using the below stored procedure in 2008r2. But i am getting the following error Restore filelist is terminating abnormally.. can anyone help me on this ? use...
View ArticleDB archiving
I am using a SQL 2008 express edition. Windows Client-server architecture. Datalayer sits in the server. I am planning to implement database archiving and DB backup restore . the difference between...
View ArticleDatabase schema change and DB restore
I have a general design/strategy doubt. Suppose i have taken a backup of the DB some days back. Now i have added a column in a table of the DB and my bussiness layer is also using that value. Now i...
View ArticleDB upgrade
I am trying to figure out mechanisms for upgrading the DB. Presently i use SQL 2008.I have read that there are some tools (free as well paid) to check the difference of DB schemas. Also there is...
View ArticleDatabase versioning and source control
I have few queries on best practises of Database versioning. Suppose i have version as Major.Minor.Patch where Major: is the Schema compatible version with Application(i am planning to map it to major...
View ArticleDatabase backup,archive
I am implementing Database backup technique. Due to budget constraints i will be using SQL express as the DB. So i would like to a take periodic DB backup(say once in a month).Since SQL jobs are not...
View ArticleBackupof DB and transaction logs-Full recovery model
I am trying to implement the backup of DB programmatically. I have few questions.I am using MSSQL 2005 express edition. 1. I am calling a stored proc to take the backup of DB. (BACKUP Database...
View Article