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

Log shipping

there are about 12 logshipping database in my server.  need to change  database and log file to different location in my secondary server.what is best way todothanksv

View Article


Start SQL services after IP change

HelloWe have two SQL instances in the same computer: default (MSDE) and named instances (SQL 2008).We changed the IP address a few days ago, and suddenly we cannot start the SQL services in either...

View Article


Question on SQL Server Advanced Configuration

Query wait option under Parallelism in SQL Server advanced configuration if set to 0 does it mean infinite? I know the maximum limit that can be specified for this option is 2147483647 but just...

View Article

How to update the identity_column value in sql server 2008

Hi Team,I have identity column based table. In the table i use insert the name as per the requirement and for ID i use to set the identity now i need to update the particular row id.when i use to...

View Article

MEMORYCLERK_SQLOPTIMIZER (node n > 0) missing from DBCC MEMORYSTATUS

Last week during an event just like this one:...

View Article


Filetable Query Performance

Hi,I have a small web app that basically provides a Search Engine-like keyword entry to search approx. 50k documents stored in directories, which I access through a Filetable Query on SQL server 2012.I...

View Article

Disabling Resource Governor via trace flag 8040 is failing

Hi,I am attempting to disable resource governor completely via trace flag 8040 (specified at startup in windows server) for SQL Server 2012 is faling. DBCC TraceStatus (8040) does show status as "1"...

View Article

The affinity mask specified does not match the CPU mask on this system.

We are having a problem with one of our SQL servers, and in comparing it to the backup server which is working fine, I noticed some differences. I attempted to correct the differences, but no luck. The...

View Article


error 2601

Using Act Premium 2012 cannot backup, save or synchronise the database SQL server 2008 Express Edition (64 bit)  10.50.4000.0-sp2"Synchronization has failed. Cannot insert duplicate key row in...

View Article


Cannot change SQL 2008 R2 Service account from local System to any account

Windows 7 64 Bit Developer Edition of SQL Server 2008 R2Successfully changed SQL Server Agent, SQL Server Reporting Services, SQL  Analysis Services, SQL Server Integeration Services and SQL Full-Text...

View Article

Errors while Changing the Database to Mutli User Mode from Single user mode...

Hi,Good Afternoon :).  Need your help in resolving one of the issue with SQL Server 2012.Today, we kept one of the database in the Single User mode and wanted to bring back to Multi User mode.  But we...

View Article

Securables - Deny Access to Specific Tables

Hello,I have a group contained in the Logins folder which I want to deny specific access to. These tables contain information that I do not want anyone in the group to access at any level. Under the...

View Article

Generate If Exists (drop) + Create DDL with each object in a separate file

Hi all,Is there a 3rd party tool that anyone is aware of that'll script out selected objects from a database into individual .sql files for each object in the same/similar format as doing a 'right...

View Article


union index

I am creating a table to track games in a tournament. aside from other data, there will be the fields: home_team and away_team.a common query will be show all games played by team A. they can either be...

View Article

backup and restore

I have two databases on the same mssql instance - testdb and mirrordb.testdb has some data. mirrordb has no data. I want to copy the data of testdb into mirrordb.so I want to backup testdb and restore...

View Article


Linked Server issue which connects to mainframe

I have a linked server which connects to Mainframe in production. The job was scheduled and running for a long time. This is failing now frequently with below error. But job is able to run manually...

View Article

Create views on index which has union operator

Hi All,I have a view which is slow. I want to speed up that so i decided to create an index but view has lot of union operators so Is there any way to create a index if not is there any other way to...

View Article


Can not log back after deleting default database

Hi,I have deleted my default database on local machine with SQL Server 2008 R2, in order to copy/restore new copy.  But after deleting the database I can not log back in.  Neither with 'sa' or Windows...

View Article

Which Book to prefer?

Hi Folks, I was thinking of diving deep into features like CLR, Database mirroring, Monitoring, HA-DR, performance, profiling, CDC, and other similar (DBA) stuff.Can anyone suggest me a good book which...

View Article

The log scan number passed to log scan in database 'master' is not valid.

I get the error below when the SQL server tries to start. They have backups of the SQL server files but not BAK files just Symantec files backups of the SQL Server folder. I’ve tried replacing the...

View Article
Browsing all 12963 articles
Browse latest View live


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