Quantcast
Channel: Forumul SQL Server Database Engine
Browsing all 15780 articles
Browse latest View live

Unable to connect from SQL server 2008(Sp2) version client to SQL...

Our requirement is to connect to dtatabse server from .net application sitting on application server to invoke and run the sql agent job in database server.But there is different version of SQL server...

View Article


sql server 2012 transaction log file

Is it ok if we shift transaction log file to some other place?? (SQL server 2012)if i have say abc_log file in D:\mssql11.mssqlserver\mssql\data, if i want to shift that to say c: is it possible? if...

View Article


Optimizer costings for hash join versus nest loop

I have been looking at a query that involves a join between two reasonably large tables. The optimizer picks a hash join rather than a nested loop, but when I force a nested loop it uses significantly...

View Article

how to up the performance

Hello , everybody, Well I dont understand why to execute a stored procedure is very slow the execution... I have a question  for anyone, why is veru slowwww? thanks for your feedback.

View Article

shrink transaction log in sql server

DBCC SHRINKDATABASE (db_name, size)1 Is this mean i am shrinking whole database or only transaction log file ??2 If i am shrinking whole db then is it good to shrink only log file ?? By using ssms...

View Article


Investigate slow running query

Hi All,I have a stored proc which inside simply joins a view and 3 tables. The SP takes less than 1 sec in my DEV environment but it takes almost 10 secs most of the time in my SIT environment.1) The...

View Article

Multiple TempDB files disappear on restart

1. Added 2 extra tempDB files across 2 logical drives. 2. Restarted SQL Service or the server 3. The 2 extra files disappear from tempDB.  However, they still on the hard drive. ??? Why did they...

View Article

from dt column how to get the data into 2 separate columns as intime and...

emp_ID card_ID dt inout desc275144271992011-03-2321:25:57.0000 Successful 275144271992011-03-2321:26:04.0001 Successful275144271992011-03-2321:35:00.0001 Successful 270144277962011-03-2321:53:55.0001...

View Article


bcp fails for trusted connection

Hi!This is a baffling one - we have a batch process extracting data on a remote machine from the SQL server using bcp -T and has been running without any issues until last weekend. Since last weekend,...

View Article


Table variable and collation

Hi, A table variable e.g. declare @table_1 ( userid int, username varchar(128)) ;If a database x collation is SQL_Latin1_General_CP1_CI_AS But tempdb system database collation is Danish_Norwegian_CI_AS...

View Article

SS2014 CTP1: table variable target causing columnstore access from batch to...

While testing the clustered columnstore indexes in SS2014 CTP1, I found the following strange behavior: a SELECT statement accessing several clustered columnstore indexes that uses batch mode if used...

View Article

Detect Windows server memory from SQL Server SSMS

HelloIs there a way to detect what is the memory on a particular server by querying from SSMS? I am not looking for 'max server memory' of SQL, but trying to find out if there is a way to find out what...

View Article

SQL Server Reported to be "Shut Down" Automatically

Hi, 3 days back, a support engineer notified us that all the services of 2 Database Servers at our data center had Mysteriously Shutdown. and they had to restart them manually. well, we had a look in...

View Article


Impact of trace flag 272 on SQL Server 2012 apart from disabling identity jump

I am upgrading my application's SQL Server from 2008 R2 to 2012.As discussed in the below URL I am able to see the Identity jump after I upgrade and the server is restarted.Now since I cannot afford...

View Article

LSI RAID, SSD Drive Formatting for SQL Performance Suggestions

I am setting up a couple of SQL servers (Mirrors), using some standard parts that we're using in the datacenter. So I am limited in the hardware utilized (already purchased). The SQL Server will house...

View Article


Maximum memory setting on database instance

In reference to the database server properties -> Memory -> Maximum server memory (in MB).The context is I have two SQL Server instances (one for SharePoint and for data), as well as SharePoint,...

View Article

How to change retention period to 1day in Change Data Capture (CDC) ?

We have CDC enabled in our Sql Server 2008 R2 to one of the database. I have changed the retention period to 15 minutes with the help of below query. sp_cdc_change_job @job_type='cleanup',...

View Article


SQLAgent Job Failed MS SQL 2008 R2

Hi, Facing below issue while running the SQL job. JOb getting failed.And found below error.Executed as user: . Encryption not supported on the client. [SQLSTATE 42000] (Error 21)  OLE DB provider...

View Article

SQL Server 2012 Service terminated. Resource Monitor (0x12ec) Worker...

We have brought up a 2 node SQL Server 2012 Standard Active-Passive Cluster about a month ago.  Last night the SQL Server service bounced on its own [brought down the service for 3 minutes]. Below are...

View Article

How to change retention period to 1day in Change Data Capture (CDC) ?

We have CDC enabled in our Sql Server 2008 R2 to one of the database. I have changed the retention period to 15 minutes with the help of below query. sp_cdc_change_job @job_type='cleanup',...

View Article
Browsing all 15780 articles
Browse latest View live


Latest Images

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