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

sp_send_dbmail problem

I am using sp_send_dbmail on SQL 2008 to send email. I found when I set to use multiple recepient , there is problemfor example:mail1@mail.com,mail2@mail.com          not work!!!         only send...

View Article


How to get list of files with modified date time from windows folders and...

How to get list of files with modified date time from windows folders and subfolders into table?

View Article


DBCC OLEDB Bottleneck?

Is there anything I can do for a OLEDB wait type?  After restarting my instance, I started a DBCC checkdb on a 200 GB database that uses the spatial data type.  A couple of tables have 250 million...

View Article

I/O error

WE are encountering this error , Does this mean some thing wrong with SQL Server configaration <<<<<<SQL Server has encountered 321 occurrence(s) of I/O requests taking longer than 15...

View Article

why does the first insert get committed

surely it should not be committed as the second insert fails and both inserts are part of the same transaction--CREATE TABLE t2 (a INT) TRUNCATE TABLE test..t2 SELECT * FROM test..t2 BEGIN TRAN INSERT...

View Article


DB engine regional settings

HiI have an in house application based on SQL server. Due to limitations with the code transactions are date stamped with the time at the SQL server rather than taking the client regional settings into...

View Article

AWE

What is AWE ? Enabling AWE memory for sql server 2008 r2 (instance) is a good or bad practice? If Enabled what is advantages and disadvantages ?Thanks in Advance...

View Article

Index Maintenence Job is getting failed due to permission. But Job Owner is SA.

The Index maintenence job is getting failed with following message.  Message Executed as user: domain\user. The user does not have permission to perform this action.  [SQLSTATE 42000] (Error 297)...

View Article


I want to take a SQL Server DBA L3 Handover in my new company

Actually I have joined a new company and appoint as L3,I want to take Handover.I want to take a SQL Server DBA L3 Handover in my new company.Is there any process pdf / website or excel which I can...

View Article


Image may be NSFW.
Clik here to view.

Can't add AlwaysOn replica

Hello!I'm trying to add an AlwaysOn replica - db server Guest2 (Windows Server 2012R2 + SQL 2014 Ent.) - to the AlwaysOn group  with a contained DB and getting the following error:I can't understand...

View Article

After creating a contained database, getting a login failure error while...

After creating a contained database and a user with passowrd under the same database, I tried connecting to the contained database. I entered the server name, login credentials and went to the...

View Article

Running query sometimes causes EXCEPTION_ILLEGAL_INSTRUCTION, completely...

My company is experiencing intermittent MSSQL crashes.  The crashes seem to lock up the entire SQL server to the point that the only thing we can do to resolve the issue is to reboot the server.The...

View Article

SQL Best Practices - NTFS indexing and putting DBs in sub folders

Hi, I've just had a chat with a  colleague about SQL best practices, specifically: - SQL DBs should be in their own folder and not on the root of the drive (even if on a separate drive) - NTFS indexing...

View Article


How to determine which objects/queries are main cause for unusual increase in...

Hi,From past 2 days, tempdb is growing unexpectedly and completely filling up the Drive. Currently we are restarting the service.Yesterday, when we ran the below query when tempDB was full, we got 2...

View Article

Update table with getdate()

Hi All.. I am going to update a table with 3million rows in one query:update table1 set co1=@col1,col2,@col2,col3=getdate() inner join table_2 on.............And I check the col3 I found amost all the...

View Article


Create Cluster on Windows for Always on

Hi all, I am trying to configure Windows Cluster on windows 2008r2 and windows 2012 . the Validation went ok During the Cluster creation it erroed out . If there is standard documention on Creating a...

View Article

TSQL to get OS level information

Hi All.. Its it possible to get OS level infro from TSQL.I want to get like the followWindows 2003           Standard           R2  SP2   32bitsWindows 2008           Enterprise         R2   SP1   64bits

View Article


Why is the profiler showing writes in a SELECT Statement?

Hi,when using the MSSQL profiler I can see page writes caused by an SELECT Statement.How is this possible? This statements causes alot of 6.8 million reads , 17 thousand writes and returns 4 rows. Why...

View Article

Recover all sql logins information from crashed sql server(have master db...

sql server crashed and we built another new server and tried to recover all sql logins from old server. only option is we have backup of all system database.how to recover sql server logins and...

View Article

Backup Strategy

Hi,Currently, we required to shorten our database recovery time. We review and would like to implement as below. Kindly give me some comments. The instance is SQL 2008 R2 Std x64Set the database...

View Article
Browsing all 12963 articles
Browse latest View live


Latest Images

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