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

Running TSQL job with minimal access

We are working on tightening up our security structure and I am having issues figuring out to handle the TSQL jobs.  The users use to be sysadmins and now they will have read/write access to the data...

View Article


Distributed transactions not working

Hi. Please read this post carefully as I believe this is going to be a complex issue to resolve and I trust we've eliminated all commonly known causes while troubleshooting. We've had two DBAs and two...

View Article


Job failed with error tempdb is not available

HI All,Backup job failed with error 'Unable to determine if the owner () of job backup_all_user_db_full has server access (reason: The log for database 'tempdb' is not available. [SQLSTATE HY000]...

View Article

Sqldependency error

Hi,I'm executing a command with "Select Col1, Col2 from dbo.Table" query. SqlCommand has SqlDependency attached. After I open the SqlConnection and call SqlCommand.ExecuteNonQuery(), I get following...

View Article

Image may be NSFW.
Clik here to view.

Tempdb files no.s are different in different sytem tables.

Hi AllOne more weird issue. Please suggest whats causing sameI have one prod server which doesn't have any high availablity options configured. Today when i tried to find no of data and log files for...

View Article


execute backup on action

Hi,I would like to do auto backup database on database creation. I would like to do this because t-log job will start reporting problem until daily full backup is done.Does anyone have suggestion what...

View Article

Enforce to use the port# while using "SQLCMD"

Hi, I didn't get much help after extensive search. So thought of bringing a silly question infront of master minds. Recently, we secured SQL Server with non-default port# (3890), disabled SQL Browser,...

View Article

Support For Latest Currency Symbols

Is there any update from Microsoft to support all the latest currency symbols in SQL Server 2008?

View Article


killed/rollback linkedserver

HelloWe have sql 2008 r2 with oracle linked server (ODAC1120320_x64.zip + p14828076_112030_MSWIN-x86-64.zip ).unfortunately linked server user expired on oracle side. Some transactions hanged and users...

View Article


Job failed with error tempdb is not available

Hi All,How to resolve this error . please suggest." time-out occurred while waiting for buffer latch type 2"

View Article

Any problem in having the same Sql Database user for different databases for...

Hi,   We are having about 86 databases in our 2008 Sql clustered instance. Generally one database is related to onlyone application . However we have found out that the application developers are using...

View Article

Master Database Rebuild failed

Hi All,We have master Database corruption and there is no backup of it, so I have to rebuild the master database..And when i gave the command to rebuild 1. No error was thrown in Command prompt2. SQL...

View Article

Script to migrate database level security in sql server.

Hi,I am pretty new to sql platform as DBA. I have to restore one of the prod database to Dev however I need to keep all the login and security as it is as earlier in the DEV. For this I need to script...

View Article


Rebuild Index to Compress Pages

I've got a big table that currently is only filled to 52.4% due to page splits.  I'd like to rebuild the table on the clustered index in order to get it closer to 90% in order to save space.  Of...

View Article

When table with clustered columnstore indexe is partitioned the performance...

Hello,Below I provide a complete code to re-produce the behavior I am observing.  You could run it in tempdb or any other database, which is not important.  The test query provided at the top of the...

View Article


Backups

Hi All, My DB Backup is taking 50 mins for 177gb database (on SAN) and it is slowing down the process..where us DB size 250 gb finishes 12 mins  in the same server. What should be the cause ?.Thanks...

View Article

Full text search is enabled?

I can check the FTS is installed or not using :SELECT FULLTEXTSERVICEPROPERTY('IsFullTextInstalled')How can I check each database is enabled full text search ?~!?~?!~

View Article


The subscription have been marked inactive and must be reinitialized into a...

Hi TeamI keep on getting the following error on Transnational Replication setup in SQL 2005.below is the error message:The subscription(s) have been marked inactive and must be reinitialized. NoSync...

View Article

SQL Server Full Backup Jobs requiring twenty-four plus hours to complete

Hello --This discussion is actually an off-shoot of one from another forum. The name of that thread is "Monitoring Network Performance", and it can be found at the following url:Monitoring Network...

View Article

how to store single sql value in variable

int hi="select id  from tbl where  name = '"+ hi.text +"'"); it is giving me errorSms

View Article
Browsing all 12963 articles
Browse latest View live