Quantcast
Channel: SQL Server Database Engine forum
Browsing all 12554 articles
Browse latest View live

How to insert data from one table to other table in sql WHERE conditon

i want to insert all data from one table to other table in specific columnam using this codeINSERT INTO  coll_details (cd_ac_type, cd_ac_name,cd_ac_no,cd_amt,cd_fine_amt,cd_rcpt_no,cd_status) SELECT *...

View Article


How do I begin to address application slow downs?

This is such an open ended question with a wide range of possibilities, but wanted to ask on this forum to see if I can get some help.We have an application that I have very little knowledge of and I...

View Article


SQL Server Web Edition support

One of the partners had a very specific query. They wanted to know that if certain servers having 4 quad-core processors or 2 hexa-core processors are virtualized and a VM is given 12 VCPU’s will SQL...

View Article

Repilication_issue_in_sqlserver2008R2

hi,we are using transactional repilication in sqlserver2008r2 when i am configuring repilication all was working fine but snapshot was not intializing automatically from old snapshot  folder when i am...

View Article

Realtime replication of primary to secondary database

We are currently looking at replicating our primary database(SQL Server 2008 R2) to a read only secondary database (SQL Server 2008 R2). The aim is to achieve a real time data replication for a BI...

View Article


DBCC CHECKDB error - Write to sparse file failed due to lack of disk space

The situation:1900 GB data warehouse database. 10x 190 GB data files, located on the same (virtualized) drive.About 30 GB free space left on that drive.Running DBCC CHECKDB on this database (in the...

View Article

SQL 2012 SP1 producing deadlocks on sys.query_notification

I have run into a situation on my servers where our service broker setup for query notifications has begun producing deadlocks. The situation is described perfectly in this KB:...

View Article

Trouble connecting Windows user group to sql server login?

Instead of adding users individually in the sql server login, i have created a group in windows in which i have added the users with their domain id and then i have added this group to sql server...

View Article


SQL Server connections

Dear,I am building an automation program on Autodesk's AutoCAD application. This program is designed to use an SQL server database in which some configuration information is stored, which is used by...

View Article


SQL Server 2012 Trace flag 610

Is trace flag 310 recomemeded in 2012 I see the docs on 2008 but nothing on 2012?Also are there any recommeded flags that should be turned on as well in 2012 to help large DB's with...

View Article

Sp_who2 active result window does not show any user connected but activity...

If I check the current connections from Sp_who2 active and activity monitor for a database then in Sp_who2 active result window does not show any user connected but activity monitor shows it.Thanks

View Article

SQL agent job delayed for daylight saving

I have a SQL agent job scheduled at 2:00 am on Sunday. But it was triggered at 2:59:50 am instead of 2:00 am last night, I think this is related with Daylight saving time, Because that is exactly the...

View Article

Is there a FAST way to determine the current state of a job?

I have a stored procedure that runs 1700 merge replication subscription jobs serially every night. After starting each job, it  calls xp_sqlagent_enum_jobs in a loop with a 1 second delay to see if the...

View Article


SQL Server 2012 Management Studio (SSMS 2012): Database Engine Query -...

Hi all,I am rusty in doing T-SQL and I am new in doing Database Engine Query.I have 2 dbo Table in SSMS 2012 and in the Database Engine Query, I executed the following T-SQL code in my SSMS 2012:...

View Article

Cannot drop secondary log file

SQL server 2012 (not sp1) 64 bit ent.The database is in simple recovery. During a large transaction I added a secondary log file not to let it fail.Now I made the primary log file 50gb in size,...

View Article


Problem with HTML editor databinding

Hello there,First up thanks to all the guys who have posted great solutions to common problems which helped me out many times in the past. Now I have got a problem of my own.  I am using this third...

View Article

How to determine why duration of a query varies.

I have a complex SQL query generated by a C# object model layer. Using SQL Profiler I have monitered the database which is only used by this application. For the same query the duration varies between...

View Article


The database model is marked RESTORING...

Newbie to SQL Server. We are running SQL Server 2008 on Windows Server 2008 R2. And it has been running just fine for several months. For no apparent reason, our SQL Server service stopped last night,...

View Article

log shipping

hi all,cal i configure log shipping with copy only backup?

View Article

Reorganize job got failed in sql server 2005

Hi All,Sql server job fails with the following error.Executing the query "ALTER INDEX [IX_tWwdolce563259569890_ACCOUNT] ON [dbo].[tWwdolce563259569890] REORGANIZE WITH ( LOB_COMPACTION = ON )" failed...

View Article
Browsing all 12554 articles
Browse latest View live


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