SQL agent start error
Hi,I am not able to start sql agent service. Please anyone help. [000] Unable to connect to server '(local)'; SQLServerAgent cannot start [298] SQLServer Error: 18456, Login failed for user 'NT...
View ArticleCan not install SQL 2008 r2 on windows 2012 r2, Attempted to perform an...
I configure all se SQL, and star the installation, but, when the installation runs "SqlBrowserConfingAction_install_ConfigNonRC_Cpu32"display a message with the error "Attempted to perform an...
View ArticleHi
If i have a series of T Log backup's say for ex. from 10 am to 4 pm with an time interval of 30 mins that is 10:30,11 am,11:30 and so on till 4 pm.now when i try to restore the same only a particular...
View ArticleSQL Trace - Filter for Stored Procedures
I'm running SQL Profile on sql 2005. I want to set up a template, or amend a template to show which Stored Procedures are executed. Is there a simple way to do this ? I'm guessing using the Edit Filter...
View ArticleDuplicate SQL versions each with duplicate SPN's - How to correct
First let me say I'm not a server person but have been drafted into service due to company layoffs so please bear with me and my ignorance, I'm tring.The server in question had the SQL version that...
View ArticleSQL Server Management Studio Installation Error
I am getting following error while installing SQL Server 2012 management studio on my Win 07 Ultimate (64-Bit) OS. I tried to download installers from different sources. But still getting same error....
View ArticleProcedure or function 'udsp_insert_wkt' expects parameter '@point', which was...
Trying to execute a Altered procedure ALTER PROCEDURE udsp_insert_wkt (@point VARCHAR(MAX), @label VARCHAR(50)) ASDECLARE @multi_point GEOMETRYSET @multi_point =...
View ArticleHow Shrinking will increase the DB Fragmentation ?
Hi all, We are familiar with SHRINK command, but we know shrinking is bad.I need to know How shrinking will increase DB fragmentation ? I want to read in depth.thanksSelva
View ArticleA foreign key accepting null values
Hello All,A foreign key should not accept null values right ( since it references the values of primary key column which cannot have nulls )?But we experienced this situation.Can anyone tell what might...
View ArticleSQL - Complex join - Cascading conditions
Hi all,I've the following two tables - MasterData - Project_IDCategoryParent_IDP1ANULLP2ANULLP3ANULLP4AP1P5AP1P6ENULLP7AP2P8AP2P9AP3P10DP6Project_TotalsProject_IDTotalP1500P2600P6700P10800I need to...
View ArticleObject reference not set to an instance of an object
hi, In my application getting above exception for first time submit. string strSPmain = "testinsert"; SqlCommand sqlCmd = new SqlCommand(); sqlCmd.Connection = sqlConn; sqlCmd.CommandType =...
View Articlemicrosoft access to sql
I have been using visual studio 2012 and created(database project) a project using database Microsoft access.I want to move it in to SQLserver 2012 how and where shall i start from. please help ?or...
View ArticlePostGres 9.3.4 kicks off a 4688 Process Start in Security Log every 30...
I'm using windows OS with elevated Security. I'm using PostGres 9.3.4. My Security Log is being spammed with 4688 messages from postgres.exe every 30 seconds. Is this normal? Is there some kind of...
View ArticleInsert row to table with computed primary key
I have a table with a computed primary key where I'm trying to insert a row but I'm getting this error:Msg 515, Level 16, State 2, Line 1Cannot insert the value NULL into column 'PriKey', table...
View Articlemsdb..sysjobhistory vs msdb..backupset
What is the difference between these 2? msdb.dbo.sysjobhistory vs msdb.dbo.backupsetThe reason I'm asking is because I have a weird situation here - only 1 day of backup history is insysjobhistory. I...
View ArticlePass Output parameter in sql 2008
Hi,I want to pass a output parameter from sql server 2008 .I have a scenario like i want to delete tables. If it has a reference tables i should pass a variable to java developers as it has a...
View ArticleSql Profiler & Trace
I've run a SQL Trace using the TSQL_SPs template, grouped by Object NameSo I get a nice list of the Stored Procedures run in a time period (that I set)Is there a way of extracting this list, or the...
View ArticleExecute a procedure with a list of array in sql server 2008
HI all,I have a procedure which has a list of values passed as an array . How can i execute my procedure with array list? how to implement this?Please help me.Thanks in advanceDeepa
View ArticleUsing Access Form Control as SQL Function criteria
I have a combo box named [myControl] on an Access form that I can use to select/enter a site name (ABC). There is a button on the same form that runs a report. The underlying record source for the...
View Article