Quantcast
Channel: Forum SQL Server Database Engine
Browsing all 15694 articles
Browse latest View live

Waits for Page Allocation

Hi Everybody,I have a question. Let's assume that we have multiple threads trying to Insert data into the same partition of a table. The Insert statement will be similar to:INSERT INTO DESTINATIONTABLE...

View Article


MSSQL - cyclomatic complexity of TSQL

Hi All,     Please let me know if there is any tool / utility to calculate the complexity of TSQL ( Stored procedures, functions ) in MSSQL. Is there is any microsoft supplied solution for this ?--...

View Article


UPdate with multiple tables

I have 2 tables namely Profile and Info. My table looked like this: PROFILE | p_Id | FirstName | LastName | | 1      | Jack         | Cole         |  | 2      | Cynthia     | Cole         |  | 3...

View Article

Conversion failed when converting date and/or time from character string in...

Hi,I created LinkedServer in SSMS from MYSQL DB.When i Execute below open Query its working FineSELECT * FROM OPENQUERY(MySQL,'call GASP_sales_aps(''2013-04-01 00:00:00'',''2013-05-01 23:23:59'')')But...

View Article

There is insufficient system memory in resource pool 'default' to run this...

I get this error multiple times for different session Id. the memorystatus dump from sql error log is given below.Win Server 2008 R2 SP1 (x64)SQL Server 2008 R2 SP2 (x64)Max Memory: 24 GBTotal Memory:...

View Article


SQL Server 2005 64-bit 100% CPU

 We just did a conversion from SQL Server 2000 SP4 32 bit to SQL Server 2005 64 bit SP2 9.0.3042.0.  We have 16G of memory on the new box as well. We had no CPU/memory issues on the 32 bit box. We...

View Article

Fail to start Analysis Services Engine

Why I am not able to start the Analysis Services Engine again as the error message from event viewer as: Event Type: ErrorEvent Source: MSSQLServerOLAPServiceEvent Category: (289)Event ID: 0Date:...

View Article

Passing selected row from gridview to dropdown

Kindly help me passing selected row in gridview to my dropdown. I have 1 gridview, 1 textbox and 1 dropdown list box. My dropdown is populated by SqlDataSource from my table Country. On my gridview, I...

View Article


Protecting an RDBMS System from DBA-s

Reference thread:http://social.msdn.microsoft.com/Forums/en-US/transactsql/thread/23f3b17d-d2ee-4f9b-ade1-2110e503b183"OK.  I have to ask.  WHAT makes avoiding xp_CmdShell a "best practice" especially...

View Article


Queries to Drive up CPU and Memory for Testing

Hello -Anyone know of some useful queries that can be used to intentionally drive up CPU and memory usage (1 query for each)?  I need to test out some monitoring tools on a test box and need to drive...

View Article

Could not allocate a new page for database 'XXXX' because of insufficient...

Dear All,I have a SQL Server 2008 (SP1) Database (Size600GB). It has more than 25 Data files and more than 5 LDF Files.My issue is most of the times whenever I tried to created new indexes or...

View Article

Image may be NSFW.
Clik here to view.

Can be stored procedures without cache?

Hello Guys!Today one procedure in my company after job for recompile, was no cache stored when I find with this select:SELECT [cp].[refcounts]  , [cp].[usecounts]  , [cp].[objtype]  , [st].[dbid]  ,...

View Article

Random Error: A network-related or instance-specific error occurred while...

Over the weekend around 2am in the morning we started receiving the following error from all of our web applications accessing a particular SQL Server: A network-related or instance-specific error...

View Article


SQL Server 2012 Shutting Down Randomly

Hello,I have two servers with Windows Server 2008 R2 and SQL Server 2012 Standard that were just setup about a week ago. Both SQL Server instances will randomly stop the service and become disabled. I...

View Article

can ODBC bcp_writefmt create a format file from the source table?

I am writing a routine using the SQL Server Driver extension to use BPC under ODBC.I get a table name, with arbitrary column names and types and lengths, and wish to create a BPC format file to im[port...

View Article


How to assign AD group default schema

Hi,We have AD group. Users are member of this group. I want to assing default_schema to this AD group. Why I right click user in db, selected properties, default schema is not selectable. How to to...

View Article

Image may be NSFW.
Clik here to view.

How to configure a computed column that uses two related tables at table...

--SQLServer 2008'R2I have two related tables one to many relationship dbo.days which holds 'Monday' through 'Friday', so dbo.dayid.3 would be 'Wednesday'and dbo.worklog both related on dbo.Day.DayID...

View Article


SQL Server 2008 Memory Usage details

Server configuration : Windows 2008 64-bit & SQL Server 2008 64-bit environment with 14 Gigs of Memory.Max. Server Memory set to 11 Gigs.- The task manager is showing sqlservr.exe is consuming all...

View Article

Instance error

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box

View Article

Recommendation about DBA role

Hi Forum,I have been working as a developer for the past 5 years comfortable with SSIS/SSRS/TSQL .I'm planning on moving onto a DBA role now , i have no clue where to start and wanted to know the...

View Article
Browsing all 15694 articles
Browse latest View live


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