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

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


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


xp_delete_file extremely slow on a server - Wait_Info...

I am looking at one server where xp_delete_file is extremely slow to delete files.One subdirectory contains a few thousands files and it takes about 1 second for each file to delete.The wait_info is...

View Article


select list because it is not contained in either an aggregate function or...

I wrote sp like below,Alter procedure First_Proc  (@fromdate datetime,  @todate datetime  )  as  begin  select DATEPART(YY,ModifiedDate) as Year        ,DATEPART(QQ,ModifiedDate) as Quarter...

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

How to Check the Sql Server license(MSDN copy or Production Version)

Currenly, our team is confirming the sqlserver live database 's license, is there a way to distinguish the license is an MSDN copy or Production License?thansk

View Article

SQL 2008 R2 - more physical memory than database size

I have a 64bit 2008 R2 sql server with 32GB of memory and my database is curently 14GB in size.SQL is only using around 14-15GB of memory and not using more. How can I get SQL to use more memory or it...

View Article


Drop Application role

I created an application role by mistake and want to drop the application role, but SSMS does not allow me to drop application role.Are there any configuration I need to check before I drop application...

View Article

SQL Server 2000 Database in "single user mode"

Hi all,I've an old production database server with SQL Server 2000 SP4, that runs from 6 years. Now sometimes I find that the production database goes in "single user mode". Why? My error logs don't...

View Article


wait_time in sys.dm_exec_requests is negative.

Please let me know why i am getting wait_time values -801668467,-801666780,-801692889 etc. when i execute sys.dm_exec_requests on sql server 2005 SP4.Manish

View Article

orphaned user

Hi all,i know how to troubleshoot sql server orphaned users  when i migrate database one server to another server.like that how can i troubleshoot windows orphaned users when i used windows...

View Article


security

hi all,what is difference between mixed authentication and windows authentication in ms sql server..?which scenario we can use mixed authentication and which scenario we can use windows authentication..?

View Article

SQL server cluster

Can someone help me understand cluster? we have two nodes for the cluster. each cluster we installed two sql instances, one is prod, one is qa. Does it mean we have total 4 instances installed, or only...

View Article

Monitor ressource governor workload group fails as data collection ?

Hi all, I set up ressource governor in sql 2008 r2. Am able to monitor cpu usage % per workload group live. When I add "\SQLServer:Workload Group Stats (*)\CPU usage %" into a data collection no data...

View Article
Browsing all 12963 articles
Browse latest View live


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