how to remove default schema
here,database role i understood but my doubt is 1) what is schema2) how to remove default schema3) and also how to remove "CHECK's" on Owned Schema Objects.
View ArticleUnable to change owner from Sa to Satish
While changing a owner am getting a error Msg 15151, Level 16, State 1, Line 1 Cannot find the database 'TEST', because it does not exist or you do not have permission.
View ArticleRestarting a sql server 2008 r2
sir,i restated a sql server 2008 r2 in my local system and suddenly i lost all my Databases except system databases.I did it by right clicking a instance (Server) , if to restart a server how can i...
View ArticleSql server Service Account issue
hi team,two days back we are changed the sql server service account, But due to the permission issue few jobs are failed.now how we can rollback the old services account.Note: we don't have old service...
View ArticleHow to access a linked server (Access database) residing on a client computer...
On a first computer (svr1) SQL Server 2008 R2 SP2 is installed. I configured 2 linked servers. The first linked server points to a mdb that is located on the same physical machine, the second mdb is...
View ArticleSA owns Agent Jobs but is Disabled
Many of our Sql Server Agent jobs (2008 r2) are Owned by SA. This has never presented any challenges and jobs run fine. I just noticed that the SA account is "Disabled" but still owns jobs which are...
View ArticleSQL Query that causes Deadlock often
HiWe are getting deadlocks, some of the queries are repeatedly causing deadlock. The tables involved are system tables. I am kind of new to SQL server. I am not sure why would someone running this...
View ArticleHelp -- sql 2008 SP3 (x64) and sql 2012 R2 SMO
We have a sql 2008 x64 sql server with SP3. We need to upgrade a third-party app (related to our SAN) and it needs to installa. Microsoft Visual C++ 2012 Redistributable Package (x64)b. Microsoft SQL...
View ArticleAgent Job with "Truncate" statements hung.
While I was on vacation a multi step Agent Job hung on step two. This step contains several "truncate" statements. A subsequent job step re-populates the truncated tables. This Job has been...
View Articlesys.dm_os_ring_buffers ProcessUtilization value is sometimes more than 100%...
I am querying sys.dm_os_ring_buffers ProcessUtilization record to get SQL Server CPU utilization. Sometimes I see values of more than 100% on machines that have multiple logical processors. I have...
View ArticleMax degree of parallelism
hi,what is the use of "Max degree of parallelism", by default it's 0 if ti's change from 0 to 8 what will be happen.what are impacts will be happen in server level.
View ArticleAre there any programmatic means of reducing paging and increasing efficiency...
We have a multi-terabyte database which daily receives tens of thousands of records to insert or update. Most online advice on reducing memory paging covers server memory options and dynamic memory...
View ArticleRestore database file - Restore As File Name different from Original File Name
Hi, I have a database called ABC and Original File Name is GPSABCDat.mdf and GPSABCLog.ldf. I have a user called BackupOpr and this user has database role membership for ABC: db_backupoperator and...
View Articlebig backup file of transaction log
we run transaction log backup of database A every 15 minutes.backup file of transaction log file is usually less than 1 GB.All of sudden, backup of transaction log file is more than 20GB...
View ArticleSQL SERVER ON WINDOW 8
I am installing sql server 2008r2 on windows 8, but I get this error: couldn't mount file, sorry there as a problem mounting the file.Thank you
View Articlesql server management studio
Helloi am using sql server management studio 2008 with (evaluation version of 180 days). I have created tables, stored procedure related to my project connected to my local server name. Now i am not...
View ArticleSql server job failing some times and suuccessful some time, even when it...
Hi Experts,I got stuck with some issue....please help me resolve1.I created job -> calling SSIS package2. In SSIS package -> (I) firstly i have zip file container(II)second i have Execute process...
View ArticleDBCC CHECKDB failure, SQL 2012, There is insufficient system memory in...
Hey, guys!Tried to find an answer, but nothing works for me.So on one of servers when I am trying to run DBCC CHECKDB throws two errorsMsg 8921, Level 16, State 1, Line 1Check terminated. A failure was...
View Articlesys.fn_xe_file_target_read_file performance
Hi,I am working with extended events and the function sys.fn_xe_file_target_read_file. I am using the file_name and file_offset to get new events, since the last time I queried the function. I am...
View Articlefn_my_permissions returns empty result yet my account is a member of sysadmin?
I was trying to see what permissions I had on another server using fn_my_permissions USE Database_name_here SELECT * FROM sys.fn_my_permissions(NULL, 'SERVER') USE Database_2_name_here...
View Article