powershell error
Hey Tech Bros,Not sure whether this is the right forum.I get error while executing the job status report script.#Create a new Excel object using COM $Excel = New-Object -ComObject Excel.Application...
View ArticleSQL Server Monitoring using Oracle OEM
Hi All,I want to know if anyone has any experience with using Oracle OEM for monitoring SQL server instances.Pros/Cons etc.Thanks in advance.
View ArticleHow to find the license type ( per seat or per processor ) for exsting sql...
Hi All,could you please help me on to find the license type of the existing sql server instance ...I already tried with below queries to find license type but no luck.SELECT...
View ArticleSQL Server 2014 with (memory_optimized=on) fires Msg 12332
When trying to make a simple table like this:USE myDb; create table dbo.t1 (c1 int not null primary key nonclustered, c2 INT) with (memory_optimized=on) goIn a database it works fine in another fires...
View ArticleHow to update the identity_column value in sql server 2008
Hi Team,I have identity column based table. In the table i use insert the name as per the requirement and for ID i use to set the identity now i need to update the particular row id.when i use to...
View ArticleSync Framework SqlServer SqlServer
HiThe scenario is a server at the head office of a client which is a centralized database on a database SqlServer 2008 professional version and several peripheral sites where it is delocalized housed...
View ArticleHow to attached a sql server 2008 database on sql server 2005
Hi,I have a backup of database designed over sql server 2008. I need to attacched this on a machine where sql server 2005 is installed and I am getting the message while attaching the database."The...
View ArticleCapture job of chnage data capture is failing
When I am performing DDL operation on my database the Capture job start failing with below error. I have created one Database trigger to log all DDL changes on another table that table belongs to other...
View Articleif i have the public rights on sql server can i able to change the sql log...
Hi All,I having public rights on sql server and I want to change the sql log location from old location to new location. can I do it with public rights ?Thanks,rup
View ArticleDirty Reads in Procedure
Hi All,Please Let me know which one is better in terms of performance:-1.If I am doing dirty Read many time in one procedure for example:- select column1 from table1 (nolock)where id = 52. Doing dirty...
View ArticleTimeout error while reading and updating in batches in a single transaction
Problem:- In a transaction I do read and update to the database in batches. First batch it runs fine and for second batch it get hanged at sqlCommand.ExecuteReader(). The following is not my complete...
View ArticleCleaning out bad DateTime data in Staging Table
I am trying to remove bad data from a table. The data is imported from flat files that is often dirty. It is easy to spot this bad data from the column that has the date field. The staging table...
View ArticleMEMORYCLERK_SQLOPTIMIZER (node n > 0) missing from DBCC MEMORYSTATUS
Last week during an event just like this one:...
View ArticleSQL Server Transaction log corruption
Hi,I have a strange problem in one of the SQL 2012 SP1 database. Sometimes my transaction log file grow unexpectedly than the preallocated space and i had to shrink it back . I usually preallocate...
View ArticleDPM encountered a retryable VSS error | Found The VSS writer SqlServerWriter...
Hello,We have a DPM 2012 SP1 server which does the Hyper-V Machine backups daily. Recently, we noticed that one of the Hyper-V machine backup (SQL 2012 Server) started to fail due to the below error...
View ArticleSQL Server 2008 on windows 8
Hi Experts,I want to install SQL Server 2008 Enterprise edition 32 bit on Windows 8 64 bit, I am not able to install the SQL, i tried to do in command prompt by using the below syntax but throws and...
View ArticleCan't find out why my DB is that big
I've got a database which is 260 GB in size. Since I know the application behind the DB, I know the DB should never be that big. Even more, one night I noticed that the DB has increased 30 GB where no...
View ArticleBest practices for batch processing without SSIS
Hi,The gist of this question is in general how should a C# client insert/update batches records using stored procedures. The ideas I can think of are:1) create 1 SP with a parameter of type XML, and...
View ArticleThe target,...
I had a following error when I start event session> The target, "CE79811F-1A80-40E1-8F5D-7445A3F375E7.package0.asynchronous_file_target", encountered a configuration error during initialization....
View Article