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

SMO question: Cannot attach database using captured SQL

Hi,I have the following codeServerConnection conn = new ServerConnection(".\\SQLEXPRESS"); Server svr = new Server(conn); svr.ConnectionContext.SqlExecutionModes = SqlExecutionModes.CaptureSql;...

View Article


Image may be NSFW.
Clik here to view.

April's TechNet Wiki SS DBE Guru Winners announced!!

The results for March'sTechNet Guru competition have been posted!http://blogs.technet.com/b/wikininjas/archive/2014/04/17/the-microsoft-technet-guru-awards-march-2014.aspx <- results...

View Article


An error 1069 - )The service did not start due to logon failure) occurred...

Hi All, We seem to be being plagued by the error below by our SQL Server agent. This happens almost everytime we restart the server that has been running for a day or two.  Our SQL Server Agent uses a...

View Article

Image may be NSFW.
Clik here to view.

March's TechNet Wiki SS DBE Guru Winners announced!!

The results for March'sTechNet Guru competition have been posted!http://blogs.technet.com/b/wikininjas/archive/2014/04/17/the-microsoft-technet-guru-awards-march-2014.aspx <- results...

View Article

FlushCache cleaned up

Hi,I find below error is SQL Server (2012) log file:FlushCache: cleaned up 90898 bufs with 7900 writes in 1876 ms (avoided 248001 new dirty bufs) for db 5:0Last target outstanding:24800 avgWriteLatency...

View Article


Buffer Pool Extention - SQL 2014

Hello All,I tried enabling buffer pool Extension feature on SQL 2014. To stress and compare an OLTP database results, we used Quest Benchmark factory tool.Here is my environment...

View Article

service accounts

I am trying to change the service accounts for a sql server instance and its related sql agent. the OS is windows 8.the default account (which has admin privileges) on the machine was the original...

View Article

SQL Server Maximum Write Performance

Hi SQL Gurus,I want to know if we are already getting the fastest SqlSever Write Performance for our application.We created a sample application that performs a BulkCopy operation to a local SQL Server...

View Article


Decimal conversion

Hello all,drawing a blank here...Monday morningI have this:DECLARE @PREWEEK INT = 72159 DECLARE @FIRSTWEEK INT = 70200 SELECT CONVERT(VARCHAR,Abs(100 - ( 100 * CAST( CAST(@PREWEEK AS DECIMAL(12,3)) /...

View Article


Frequenet dead locks in SQL Server 2008 R2 SP2

Hi,We are experiencing frequent dead locks in our application. We are using MSSQL Server 2008 R2 SP2 version. When our application is configured for 5-6 app servers, this issue is occurring frequently....

View Article

sp_rename not working

sp_rename not working not renamining properly....Is there any attributes additional to work with this??After rename sp_helptext returing old sp name...

View Article

IOPS by application

HiOur main production is used by our OLTP system and OLAP system(QLIKVIEW). We are now considering to split this into two servers. For the capacity planing we need to find out the IPOS by the OLTP...

View Article

SQL Server 2012: Need ROLAP Partitioning Advice

I am in the development phase of producing a ROLAP model which will accommodate price index changes over time (10 years). When I asked individual users how most of the information of interest will be...

View Article


Database Engine won't start - master DB log file issue

I had a server patched and reboot yesterday and now the SQL services won't start because it's saying it can't find the master log file. I checked the path and the log file is present. Any...

View Article

SQL Server has encountered 3456 occurrence(s) of I/O requests taking longer...

Have seen this mentioned elsewhere and seen advice to check disk condition etc. Before I go down that road I wanted to check whether DB integrity checks running at the same time could cause this...

View Article


Cannot start MSSQLServer service

I recently re-installed SSMS on my machine and am able to connect to remote databases. But I cannot connect to the local instance. Neither can I start the MSSQLService from the configuration manager. I...

View Article

Help with DMV sys.dm_exec_query_stats

Below is one of Glenn Berry's SQL Performance queries for SQL 2005.  It gets Avg Elapsed Time of stored procedures in cache .  I need some help understanding what the query is doing. I want to get the...

View Article


Update staticts job taking longer time in a production server

For DB optimization I run re-organize, Rebuild, Update statics, Shrink database, History clean up jobs, In this update statics takes 5+ hours to complete with database size 280 GB, Can some one explain...

View Article

Wait Events in SQL

Hi,I am getting many Wait Events in SQL Server 2012. Please let me know how can I resolve these wait...

View Article

SQL Query issue

HI - I have one peculiar issue with sql query.   Below query is not returning any rows.  The issue lies with store_code(st.store_code = 'MAUR') filterselect st.store_code, s.source_title,c.*from...

View Article
Browsing all 12844 articles
Browse latest View live


Latest Images

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