Regarding 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 ArticleSQL Agent Restart time
Hi All..It's it possible to find the sql agent restart time using TSQL: here using SQL 2000.I found a scheduled sql agent backup database job missed at the target schedule.
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 ArticlePartition Problem with Data Types and File Group
Q1) I have created Partition function on DateTime data type on A column, which belongs to 50 tables only, 10 tables have to DateTime but its B Column. So Can I Create the Partition on B Column for...
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 ArticleSQL Server 2008 R2 - Timeout After 30 Seconds - Can't Change
Hi there,I'm experiencing a transaction timeout issue with SQL Server 2008 R2 (64 Bit).I'm trying to change the value of a key in one row in a table (15,000,000 rows) using SQL Server Management...
View ArticleEstimated Execution Plan: meaning of "Output List"
We have a query that that includes a SELECT Distinct.... clause. The estimated execution plan displays an icon with text below:>>>>>>>>>Sort(Distinct...
View ArticleData Collection Filters (Database Engine)
Dear friends,Is it possible for data collection feature to be set up so that it will only collect data about only those queries running longer than say 5 minutes?Also, can I collect data only on a...
View Articlestore pdf file in SQL or Oracle database ..
can u plz tell me code for converting the pdf file to normal text format and store into sqlserver or oracle in database format??
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 ArticleThe oracle provider for .NET OracleConnection and OledbConnection
Dear All:Hi, I install a oracle 11g server, and I find use .NET OracleConnection connect to server success, but use OledbConnection fail. I check the oracle server,it say that "OLE DB" intall fail, so...
View ArticleSQL 2008 R2 x 64 + VSS backup of filestream enabled databases
We are using Veeam to backup our SQL database using VSS and the hot backup is failing.We have extended our VSS timeout for Veeam to 30 minutes but still our backup job times out. Basically the VSS...
View ArticleSQL Server connection error
I want to connect SQL server from one machine to another machine using machine name. But I am getting one error-"Time out expired.The timeut period elapsed prior to completion of operation server not...
View ArticleSQL Remote connection without specify PORT Number between different locations
Hello,We need to connect SQL Server from one machine to another machine.We have installed SQL server with instance name as SQLExpress.We can able to connect remote connection with client machines in...
View ArticleAttaching a db - missing log (ldf)
Hello,I'm trying to re-attach sqlserver 2005 db. I have the mdf file but I don't have the log file. When I try to attach, I get the appended error.Is there anyway, around this?ThanksHouman TITLE:...
View ArticleSQL script gets 'Access denied' to write a registry key value during SESSION 0
Hello,On Windows 2008 R2 PS1 Server, MS SQL Server 2005.Running an installation (*.msi), performing an SQL script which writes a value to a registry key:- running as a user with administrative rights,...
View ArticleExport Database diagram
My SQL Database has more than 40 tables, I wonder if I could export the database diagram in some form. I know I could do a print screen, but I wonder if there is other way to make a complete and nice...
View Article