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 ArticleHow 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 ArticleLog database always full
Hi,I run SQL Server 2005 Workgroup Edition on Win SBS 2003 R2, it's 32-bit system. And I'm using the SQL Server 2005 WE for our small company's app database, and here's the recent trouble I...
View ArticleProtecting 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 ArticleInstance 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 ArticleRecommendation 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 Articlexp_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 Articleselect 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 ArticleDrop 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 ArticleSQL 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 ArticleHow 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 Articlehow to find missing tabel in sql server express edition
ive observed that my database tables are missing. how do i know which user deleted that database or tabel in express edition.?
View ArticleCannot Connect to Remote Named Instance of SQL Server
We have 3x instances of SQL Server 2012 installed on a single remote server - there's the default MSSQLSERVER instance, then \INSTANCE01 and \INSTANCE02. I can remotely connect to the default...
View ArticleTempdb files recommendation for SQL 2008R2 with 2 instances
Dear,I have a cluster box with 16 cores. I do have 2 production instances running on the box.Can some guide me how many tempdb files I could add for each instanceAs per best practice total 16 should be...
View ArticleMap temporary objects of tempdb to sessions
Hi All,Does anyone know where stores SQL Server tempdb object list. From this list you can determine which temporary object belongs to which session. tempdb.sys.objectsor tempdb.sys.sysobjects have two...
View ArticleHow to delete a database without database files.
Something went wrong during a backup. The backup application made a backup of a database and attached the backup, on a mounting point, to run a verify.After running the verify it should have removed...
View Articlewhat does this deadlock graph mean?
<deadlock-list><deadlock victim="process975948"><process-list><process id="process975948" taskpriority="0" logused="1200" waitresource="KEY: 7:72057896813723648 (12b7fb17bed7)"...
View ArticleTiempo de respuesta en consulta a tabla con campo Varbinary(MAX)
En Microsoft SQL Server 2008 (RTM) - 10.0.1600.22 (Intel X86) sobre Windows XP SP 3 se cuenta con una base de datos que tiene una tabla con una columna Varbinary(Max). La tabla tiene 300 registros con...
View ArticleWindows Backup Succesful but Inconsistent
I originally posted this message on the Windows Server forum and they indicated that our problem was a SQL issue and I should re-post this issue here. We recently restored our server using the bare...
View ArticleBobMgr::GetBuf: Sort Big Output Buffer write not complete after 60 seconds.
I have an instance that is 1 of a 6 node cluster that crashed today. It's SQL Server 2005 4035 (SP3) Enterprise and the last error messages it gave before crashing are as follows:BobMgr::GetBuf: Sort...
View Article