Quantcast
Channel: Getting started with SQL Server forum
Browsing all 9243 articles
Browse latest View live

Insert Trigger causes application to think "another user modified data during...

We are using an application called Sage FAS (Premier Depreciation).They have an Asset table "currently with no triggers" where we need to update a table in another SQL Server when receives a new...

View Article


SQL Server Processor/Core Licensing and Windows CALs

I've scoured the internet for an answer to this question, so I'm assuming the scenario isn't as common as I think, or people are purposely looking the other way because they don't want to know the...

View Article


Error: Operand data type datetime is invalid for sum operator.

I am trying to print 0 if the total of the count is 0 but not working select    sum(DATEADD(day, DATEDIFF(day, 0, dCreated), 0)) as TotalCount,    DATEADD(day, DATEDIFF(day, 0, dCreated), 0) as...

View Article

Wont go past OSCHECK

Hello,I am trying to install SQL Server 2008 R2 standard but i cannot go past the Installation rules page.  It keeps fails at "Operating system supported for edition"I am trying to install this on a...

View Article

primary key voilation in transactional replication

Hi,How to resolve primary key voilation in replication.

View Article


SQL Server Patch Failed

May I know the cause of this?I don't understand why the patches failed. My colleague tried on other server and it works, but not on the current machine and prompt the log as below.Overall summary:...

View Article

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 Article

cast 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 Article


Date 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 Article


What 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 Article

Problem 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 Article

How 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 Article

SQL: 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 Article


Image may be NSFW.
Clik here to view.

PageIOLATCH_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 Article

Mirroring

Hi,How will you understand is that same database table going from principle to mirroring? What is the internal process?

View Article


Newbie

Error 40 "The System cannot find the file specified"..WHAT FILE??????????? I know my username/password, and I guessed the instance in the CMD prompt (sqlcmd -L)After a day of install of SQL Server 2012...

View Article

Hardening

what is meant by hardening and hardening levels

View Article


Can 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 Article

What 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 Article

Way 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 Article
Browsing all 9243 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>