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

Tables not showing in a new Database created using CREATE DATABASE command

Hi there! I've created a database using "Script Database As" in SSMS. Here's the code generated: USE [master] GO /****** Object:  Database [PLMAINDB]    Script Date: 08/22/2014 11:25:44 ******/ CREATE...

View Article


Image may be NSFW.
Clik here to view.

The transaction log for database 'Test_db' is full due to 'LOG_BACKUP'

My dear All,Came up with another issue:App team is pushing the data from one Prod1 server 'test_1db' to another Prod2 server 'User_db' through a job, here while pushing the data after some duration job...

View Article


I have enabled both the traces 1204 and 1222 in sql server 2008 but not able...

In Application error: 2014-09-06 12:04:10,140 ERROR [org.apache.catalina.core.ContainerBase] Servlet.service() for servlet DoMethod threw exceptionjavax.servlet.ServletException: java.lang.Exception:...

View Article

Use of JOBS folder under root directory

Hi,We have Backup, Binn, DATA, Install, JOBS, Log, repldata directories under the instance root directory, as of now I heard the JOBS directory is used for jobs information, but I never see any jobs...

View Article

SQL Server Agent Job is not running as per schedule

I have a job that is supposed to run every 6 AM.  It was running last week but not this morning.  The big problem is that there are no error messages what so ever. I checked Agent History, SQL server...

View Article


Limiting no of core with Sql Server 2012

Hi All,we are planning to use Sql Server 2012 EE on a hardware with 64 logical processors but want to limit Sql Server to use only 16 logical processors. Please assist for a solution which should also...

View Article

How to resolve a windows authenticated orphaned user in Sql Server 2008 R2?

Hi, We have some orphaned windows authenticated  users(domain) in the database while it had been migrated from Sql Server 2005 to Sql Server 2008 R2, because there are no corresponding logins for the...

View Article

Do I need to install Security Hotfix (KB2977319) after Cumulative Update 12...

HI,I have installed Cumulative Update 12 for SQL Server 2008 R2 SP2 on my SharePoint instances. This was to resolve a known  issue faced with the instance. CU12 helped resolve the issue. My company is...

View Article


consistency error

Hi All,How to resolve below errorExtent (1:1537432) in database ID 6 is marked allocated in the GAM, but no SGAM or IAM has allocated it. [SQLSTATE 42000] (Error 8905)  CHECKDB found 1 allocation...

View Article


Unable to connect through named instance on a cluster env

Hi All,I am unable to connect through named instance on a cluster env, and it happens on the active node where sql server is installed, however when we move the service to the passive node, it start's...

View Article

Filegroup Restore and error "The online restore to database 'DB' failed."

Hi all,SQL Server 2012 EEWin Server 2008 R2I am doing some tests regarding backup and recovery. Here is what i have done so far: - I have created a small database - populated it,  - generated a full...

View Article

Image may be NSFW.
Clik here to view.

AlwaysON backup question

Hello!I'm trying to set up backup for the database in an AlwaysOn group using Add Maintenance Plan wizard and got puzzled by 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


Partitioned view read other tables when it shouldn't? SQL Server 2008 bug?

The query still scans all the tables where it supposes to scan only one table when the tables have more than, say, 10000 rows. The details can be found...

View Article

Was this database migrated from dev or prod?

We have several environments (e.g., development, staging, test, training, production).  When migrating a production database to a new version of SQL, we also migrate the related environments. Sometimes...

View Article


Mirrored backup on external HDD fails

Hi all,We have attached a HSB drive to server. When we backup on local drive and USB drive at the same time (mirrored backup) the following error is returned:Executed as user: NT AUTHORITY\SYSTEM. The...

View Article

Not getting Page from Prod server

Hi All,I have set two pager email Id in my prod server I have a job when this job succeed then it will send a page to both email ID Job ran successfully and both Email ID did not get any single page...

View Article


Datbase is in single_user mode and offline

Hi AllSome one have change database in single user mode and then took offline and now if i try to take it online i get below error."Changes to the state or options of database 'TransactorMI' cannot be...

View Article

Image may be NSFW.
Clik here to view.

AlwaysON backup question 2

Hello!I set up a backup job for the secondary AlwaysON replicas on each of my SQL servers as discussed here...

View Article

Log chain theory question

Hello!As per BOL:http://msdn.microsoft.com/en-us/library/ms186299(v=sql.105).aspxbegins_log_chain bit 1 - This is the first in a continuous chain of log backups.A log chain begins with the firstlog...

View Article
Browsing all 12963 articles
Browse latest View live


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