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

Change Text and Image to Varchar(max) and Varbinary(max)

I have a very big DB (7 TB) with 1000's of tables, I have lots of Text and Image columns. I want to convert them all in blind to varchar(max), Varbinary(max),should I expect ANY issue?do I take any...

View Article


Stored Procedure Last Execution

Hi,Is there a way to tell when a Stored Procedure was last executed in SQL Server 2005?I saw a dmv that lists only the procedures that are in cache, but I wonder if is there a way to track all the...

View Article


Placing IF statement on UDF which returns a table

Hi all of you,I'm stuck..I know that it is a silly thing...Thanks for any input!!My current UDF snippet:ALTER FUNCTION [dbo].[Formas_de_Pago_Todas]( @idioma char(2)) RETURNS TABLE AS RETURN ( IF...

View Article

Image may be NSFW.
Clik here to view.

SSMS intellisense is a nuisance with XML

A picture is worth one thousand words:It does not recognize Doc.query as well as the name of the table which you cannot see because of this annoying Warning ToolTip Message:I run Sql2k8.Thanks for any...

View Article

Restore failed with Microsoft SQL Server Management Studio Express 2005

Hi, I'm helping a friend of mine migrate their database from one computer to another, he created a backup from the original server and gave me a USB stick with the backup on. The plan was to use the...

View Article


Image may be NSFW.
Clik here to view.

DPM encountered a retryable VSS error | Found The VSS writer SqlServerWriter...

Hello,We have a DPM 2012 SP1 server which does the Hyper-V Machine backups daily. Recently, we noticed that one of the Hyper-V machine backup (SQL 2012 Server) started to fail due to the below error...

View Article

Image may be NSFW.
Clik here to view.

Spread the Love! Be our SS DBE TechNet Guru, this Valentine's

TechNet loves you! We love your contributions at TechNet Wiki sooo much that we give you more than just love in return...We give you NOTORIETY, GLORY... and VIRTUAL MEDALS!That's not all, this love we...

View Article

SQL Server 2012

Hi,Do I need to have an established static IP Address for the Windows server, so that my SQL server 2012 will have it's own IP address? So that I can access my database engine using the IP address...

View Article


Log shipping log backup issue

hi,we are configured log shipping, but log backup fails getting below error Cannot open backup device 'C:\LS backup\lsm.bak'. Operating system error 5(Access is denied.). Msg 3013, Level 16, State 1,...

View Article


SQL 2008 and missing msdb

I came across a SQL 2008 RTM installation where Enterprise Manager would not cleanly open due to MSDB data and logs being missing.  It seems that running instmsdb.sql would recreate the db and I saw...

View Article

Passing parameter in LIKE statement with '%'

How do i handle this code:CREATE PROCEDURE sp_Test   @pchrTest1ASSELECT   fldTest1,   fldTest2FROM   tblTest1WHERE fldTest1 LIKE '%' + @pchrTest1This codes seems it does not work.Thanks in advance

View Article

Image may be NSFW.
Clik here to view.

Sql server SA account was Disable but keep jobs running,

1) Sql server SA account was Disable but keeps on jobs running,2) we are trying to see the jobs view history it's shows empty there is no information,it's shows below  screen..  here how we can the...

View Article

Last two months sql server login information,

How to get history of logins to  SQL Server 2005 in last 2 months, but here we are not enable "Successful login logins only" under sql server property under securty.<o:p></o:p>

View Article


Partition function help

I have a partition function created as follows:CREATEPARTITIONFUNCTION[IQPFN_CorpNumberRight](int)ASRANGE RIGHTFORVALUES (1, 6000, 12000, 18000, 24000)I want to now add: , 30000, 36000, 42000 to the...

View Article

Image may be NSFW.
Clik here to view.

Restart Cluster instance

Hi all  2 servers are in cluster,now i need to restart the one instance.is it possible to restart only one instance.it has any impact in other cluster instance.here i am attaching my cluster...

View Article


How to find out what configuration changed on sql server last hour?

How to find it?

View Article

Detaching and Reattach ndf files from different copies of a database

Hi,This question may be very basic, but I'm wondering if it's possible, and if not what is the technical reason behind it.I have two databases, Database A and Database B.  What I would like to do is...

View Article


a question about 2 sql server commands

EXEC sp_configure 'show advanced option', '1';EXEC sp_configure "xmd_shell', '1';What those two above commands do? After run these 2 commands, anything is changed on sql server? Potiental risk of sql...

View Article

how to find bounce back email in MSDB

Hi friendsI am currently under going one critical issue. We have a SQL job which sent out email using sp_DB_Mail. Now for some reason there was some issue on SMTP server because of which mails were...

View Article

SQL Server 2008: DETA Failed to initialize MSDB database for tuning (exit...

Hi,I attempt to launch DETA in SSMS 2008 but getting an error onestablishing a SQL Server connection.The login that I use to connect has system administrator permissionsError:Failed to initialize MSDB...

View Article
Browsing all 15264 articles
Browse latest View live


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