after insert trigger performance impact on insert operation
Hi,I want to implement AFTER INSERT trigger, and trying to assess the expected impact on performance (naturally I'll test it too, currently trying to get a head start on expected issues).here's a brief...
View Articleproblem inserting values in xml schema collection
I am trying to insert value in schema collection but it is giving error.This is my schema collection create xml schema collection productionemployee as '<xsd:schema...
View ArticleAcademic question Clustered Index or Nonclustered Index
Hi guys, I'm getting a little bit confused about clustered and not clustered index. For example: create table forum (xxxxx int identity) it's a clustered index or not (I think don't)? create table...
View ArticleRESTORE DATABASE fails, but only if run from within TRY/CATCH block.
Hi everybody,I'm trying to restore a DB using the following script:BEGIN TRY RESTORE DATABASE [20130717_SERVER4_NS_dat] FROM DISK = N'c:\NS.bak' WITH FILE =1, REPLACE, MOVE N'NS_dat' TO...
View ArticleProblem in changing password of sa account.
Hello, I cant change my password of sa. I have tried with codes belowALTER LOGIN [LOGIN_NAME] WITH DEFAULT_DATABASE=[master]GOUSE [master]GOALTER LOGIN [LOGIN_NAME] WITH PASSWORD=N’NewPassword’...
View Articleusing MSSSQL SPLA licensing to deliver ISV application as service
Hello,I don't know is this good forum or not, but I searched and nothing came back on this topic. We have application which customer would like to rent it on their own hardware and their own windows...
View Articledatabase schema
my onsite DBA is asking me to send him the DATABASE SCHEMA for a particuar database,my question is that we need to have schema owner and schema name right?but he din't give any name and owner to...
View ArticleMicrosoft TechNet Wiki Guru - Winners for July!!
The results for July's TechNet Guru competition have been posted!http://blogs.technet.com/b/wikininjas/archive/2013/08/11/technet-guru-awards-july-2013.aspx Congratulations to all our new Gurus for...
View ArticleMS SQL table hangs on constraint violation exception
I need to create a Quiz Application. But during testing I am facing 1 issue. My table structure is this: Table 1: id (PK) => This column is also foreign key for Table 2: Table 2: id (PK) qid...
View ArticleRegarding division of database.
One of my senior DBA has asked me " can u add division?" so now my questio is that is he refering to add division to a database or anything else? if it is to add division to database,how to do that can...
View ArticleEvent ID: 17055 Source: MSSQLSERVER
I Have SQL 2000 , When i try to geting Backup from one of my DataBase on that, i get error code 17055 after 90% of Backup processing.while i can get backup from another Database on this MSSQL 2000 !...
View ArticleSnapshot is disappear after sudden lan down in the data centre for 20 minutes.
I have a setup of sql server 2008 database mirroring and there is a snapshot of mirror database.There was a sudden lan down in the data centre for 20 minutes in which the mirror database is become...
View ArticleDeleted Default database for All user
While restoring database. thought we have all backups to restore, but accedently deleted the databae which is the default database for all logins and loged off from server. now we can login to server...
View ArticleHow to run SQL scripts in bat file?
I have multiple sql scripts files and I want to run them in a bat file for ease of use in Microsoft SQL Server 2005. How do I do that in steps by steps? Thanks.
View Articlere buiding indices
Hi all,I am a dba by accident. I have a question. I have been asked by my team to re-build indices for an application database. I looked at the statistical report of index usage and tables. I scanned...
View Article