Average no of farmers in each Mouza/Town.
I have a table name farmer data and it has attributes like farmer name, father name, pesticides used, town etc (these attributes would be required for query). also the data type of columns is var char....
View Articlecast varchar conatining & to XML
HI,I facing problem in using the XML embeded inside XML.from C# code am escaping the special characters and passing to SP as shown below.NOT able to cast the varchar as XML for below input:DECLARE @XML...
View ArticleDate To Integer conversion problem
Hi thereI'm working on software for Pervasive-to-MS SQL migration. There is a declarationDeclare :StDate DateTime;Declare :ForDate DateTime;The line Set :StDate = :StDate + (Truncate((:ForDate -...
View ArticleWhat is typically next position or role for SQL Server DBA
What is typically next position or role for SQL Server DBA , I was read at once time is typically next position for DBA is Systems Administrator , and this will help him to mangae and secure all...
View ArticleHow to use an UPDATE statement for this query?
I am using SQL Server 2008.So on my database I have a column that is Eireeo1class which is varchar (30) ( Ex: Sales Workers, Cashier, etc).I have to Increase all employees salaries with the selected...
View ArticleSQL: what is a quick way to get query result?
There are three tablesCreate Table InputItems ( ItemID int Primary key, Name nvarchar(250)) Insert into InputItems values (1, 'Raw1') Insert into InputItems values (2, 'Raw2') Insert into InputItems...
View ArticlePageIOLATCH_SH in Database query
Hi Experts one of my SQL query is running more than 12 hours.but normally it finish with in 10 min,last 2 days its running more than 2 days.here i attached my Activity monitor screens hot.please help...
View ArticleMirroring
Hi,How will you understand is that same database table going from principle to mirroring? What is the internal process?
View ArticleProblem with log-in to MS SQL server 2008R2
I have the following problem. We installed and used MS SQL server 2008R2 on a Windows 2008R2 server that was set up as a database server. It was a single standing machine with no domain but set up as...
View ArticleCan SP return a result set?
Hi thereI'm working on Pervasive -> MS SQL migration project. The current problem is the Pervasive SP (not Function) can return a result set (table). The declaration is as follows:CREATE PROCEDURE...
View ArticleWhat the name of this Job?
I love systems administration and networking staff also SQL Server Administration , I plan to take some certificates with this sequence : 1- MCSA SQL Server 2012 2- MCSA Windows Server 2012 3- MCSE...
View ArticleWay to call the Function/SP question
Hi thereI'm working on Pervasive -> MS SQL migration project.The Pervasive code has tons of "Call" operators. I found that the only way to call the function/SP is the Exec (Execute) so "Call" must...
View ArticleNovember on TechNet: Calling All SQL Server Gurus - Enlighten Us!
"An influential teacher, or popular expert" Oh mighty reader, we need your enlightenment! Only YOU can show us... the TRUE WAY to code! Win the love and adoration of generations to come, by giving...
View ArticleHow to signal a condition from inside the SP/Function
Hi thereI'm working on Pervasive -> MS SQL migration project. The Pervasive has the operator SIGNAL which allows you to signal an exception condition or a completion condition other than successful...
View ArticleNeed Help with sql server 2012, and sql server 2008
I am stumped and about ready to move to oracle. I have migrated a production database to SQL Server 2008 express on another server running windows 2008 r2 enterprise, and moved it to another server...
View ArticleSQLVDI errors on SQL Server 2008 R2
Several days ago the Veeam backup for my SQL Server 2008 R2 server started to fail with SQLVDI errors. I originally thought it was a Veeam issue, but last night I tried running Windows Server Backup...
View ArticleIdentity key error
I with a identity value. I then Inserted 988 test records. When I then inserted a new record the identity was 55. What could be the reason for this
View Articlebackup fail; looks like a login/ rights problem
SQL server 2008 R2 on WIN 7Using Management Studio Trying to learn backps; all fail with: Backup failed for Server 'WIN7\SQLEXPRESS'. (Microsoft.SqlServer.SmoExtended)For help, click:...
View Article