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

Usage of CTE in a nested select

Hi,Im very new to CTE. I have a nested select statement for CTE like the one below but i keep hitting this error:Msg 1033, Level 15, State 1, Line 13The ORDER BY clause is invalid in views, inline...

View Article


Clustered Index Ordering & Insert Speeds

Hi,We used to have a clustered index which consisted of 5 fields, this was ordered incorrectly which meant new inserts caused a lot of bad page splits.This CI was reordered to be correct and that...

View Article


SQL: Message, servirity, state

Hi AllWhere can I get all the SQL message , servirity and state list, and their meanings?

View Article

content

Hi all,what content contain the ldf in sql server?what content contain clustered index in sql server?

View Article

Is it ok to set the restricted growth of system database?

Is it ok to set the restricted growth of system database?Thanks

View Article


Check scheduler_id's for parrallel queries using Extended Events

Hi,we followed the rule to set the maxdop = numer of schedulers per NUMA node. I now want to check how often parallel queries can use different schedulers within the same NUMA node. Following scripts...

View Article

ldf

hi all,may i know ldf recorded uncommited transactions or not

View Article

except shrinking how can I release those space from database.

My drive size is 550 GB in which data file exists. I have 500 GB database and I can see that internally 85 GB free space in data files still we receive alerts.except shrinking how can I release those...

View Article


I want to know why datafiles and log files are increasing in index rebuild...

In index rebuild process my database(data files) are increasing to 120 GB and log file is increase to 110 GB.I want to know why datafiles and log files are increasing . Mainly data files because I...

View Article


Issue in making rows to columns

Hello All,I am working on a query where I need to make 2 rows data as columns. I have 2 tables Table A and Table B from which I am getting the data.Here is my Query.SELECT DISTINCT A.Name,...

View Article

Maximum memory on SQL Server 2012 Standard

Dear everyone,   I would like to check with all of you about maximum memory on SQL Server 2012 Standard.   If refer from http://msdn.microsoft.com/en-us/library/cc645993.aspx that said SQL Server 2012...

View Article

SQL 2012 tempdb initial size

I install SQL 2012 in cluster and cofigure tempdb: 1 file per core, initial size 1024Mb, but after SQL automatic change initial size to different value. Why SQL automatic change initial size for...

View Article

Unable to connect to remote SQL server in management studio

I have done all the steps in this...

View Article


SYS processes, sql_handle, stmt, stmt_start,stmt_end

Hi ALLAre there any method to have processes, sql_handle,  stmt_start,stmt_end and the real tsql in the same table?

View Article

Dev Licensing

HelloWhat is the definition of a development server for SQL Server licensing? The reason I ask this is that we have been asked to build a development SQL server with a developer license. However there...

View Article


SQL SERVER AGNET (sql express)

"SQL SERVER Configuration Manager "The request failed or the service did not respond in timely fashion" Consult the event log pr the applicable logs for details ?can you please help thanksmani

View Article

Same Stored Proc response time is different for different web servers

Hi,Same website is hosted on multiple web servers and they are running in a load-balance environment. On SQL Sever 2012, Same Stored procedure response time (duration) is double or more for one web...

View Article


another invalid log scan number question

I just upgraded one of my dev servers from SQL Server 2008 R2 to SQL Server 2012 SP1 (11.0.3000).I am now getting this error.The log scan number (4572:11588:1) passed to log scan in database 'foobar'...

View Article

SQL Dump File Help Needed

Hi All,I need some help identifying the issue with this query I'm running, whenever I run a particular query using the below optimize for statement, it generate the error below and a dump file(OPTIMIZE...

View Article

SQL Server limits rows added to a table

Hi,I need to append over 50 million rows to a table in a database.  Problem is, as soon as it reaches 3.6 million rows, it just stops inserting rows.  There is no error raised.  We have to manually...

View Article
Browsing all 12554 articles
Browse latest View live


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