Quantcast
Channel: Fórum SQL Server Database Engine
Browsing all 15680 articles
Browse latest View live

Execute permission denied to execute sp_send_dbmail.

Exceute as login ='manish\manish' ============== EXEC msdb.dbo.sp_send_dbmail @profile_name = 'vvvv', @recipients = 'Maneesh.aroroa@vvv.com',  --< mail queued. Exceute as USER ='manish'...

View Article


CDC and sys.dm_db_task_space_usage.internal_object_alloc_page_count

Gurus - I have CDC setup (2008 R2) and the job is set to run continuous. The job calls the cdc scan procedure with default parameters maxtran = 500 maxscans = 10 continuous = 5 pollinginterval = 5...

View Article


SQL Agent Job is failing due to job has been suspended

Hi All, I am working on Migration Project,  so after installed sql server i restored msdb database and edited maintatince plans with new connection string and when i am trying to run any job i am...

View Article

Restarting Partitioning to Partition #1 without losing data

Partitioning was setup at a location where it started with Partition ID 733 and added a new one per day.  It will be reaching partition 999 and all the data will end up in that partition moving...

View Article

How to fire trigger-like code when a login becomes a user of a database

Here's the scenario we want to achieve - 1) Login authenticates to SQL instance 2) Login becomes a user in the XYZ database 3) Some sort of code fires when a login becomes a user in the XYZ database -...

View Article


DATABASE

Hello Please I need help with question> Does database has versions? If yes please what are they? My teacher asked the class to go research for database versions... and we have submit it on...

View Article

Looking for a root cause for needing to restart SQL Browser Services on SQL...

Hi experts, We have many SQL servers that are experiencing symptoms that are described in this KB http://support.microsoft.com/kb/2526552 Application team reports that their application throws this...

View Article

Would changing the isolation level to Snapshot for only 1 sproc help?

Greetings. 2008R2 So I'm trying to get up the Snapshot Isolation Level learning curve for two different systems. I'm having some deadlocks in one system, and blocking in the other. Of course code mods...

View Article


How to email different operators on different actions

Hi Together, I have two different operators with distribution lists. The one group needs to get an email when the job fails. The other group needs to get an email when the same job completes. Is that...

View Article


Image may be NSFW.
Clik here to view.

How can we have deadlocks in tempdb on local #tables in SQL 2012?

Since upgrading to SQL 2012 we've been having deallocks on local #tmp tables. This is occuring accross processes(spids). They appear to on partition objects, Sch-M and Sch-S. They are occuring on the...

View Article

Database mail and email address with spaces

Hi   I am trying to set up database mail but am getting : The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2007-10-30T15:40:39). Exception...

View Article

Image may be NSFW.
Clik here to view.

Databases are not getting displayed in SSMS

Hi, im using sql server 2012 and im stuck with a strange problem. i tried to restore a database snapshot to a database. usually it doesnt take much time to restore, but now it took 5 mins and still...

View Article

Reporting Services databases

Hi, We have reporting services installed on computer A. Reporting services databases reportservice and reportservicetemp db created on another database server. Right now there is request to add...

View Article


Can you confirm this is bad performance?

Hello everyone. So I have this SQL Server instance (see below for version) with a database containing a particular table.  This table currently holds 13.38 million records that occupy a little over 6GB...

View Article

Converting Int to BigInt on Primary Key

Hi guys, I'm trying to find a way to convert from an INT to a BIGINT for a primary key. I know the obvious suggestion of creating another table and migrating all the data, but that seems insane to me -...

View Article


Database script files deployment SQL server 2008

I have around 30 to 40 sql files. Some of them are table creation, alter scripts, some of the them stored procedures, functions etc. Please let me know an efficient method to deploy these scripts into...

View Article

Why does UPDATE STATISTICS WITH SAMPLE take longer then FULLSCAN?

We've been running UPDATE STATISTICS with FULLSCAN daily against databases that total 280GB.  The small databases are no problem, but the largest database takes over 3 hours.  Overall the total time...

View Article


MSDB Corrupt

I have SQL Server 2005 SP3 Cluster and MSDB DB is corrupt. We are receiving an I/O consistency error on MSDB at this point.  We are using a third party backup utility to backup our system dbs and...

View Article

can anyone help me in sending me a dbmail plz?

hi,  i configured dbmail in my local machine.  step1: i configured by emailaddress:test@gmail.com, servername :smtp.gmail.com, portnumber : 587 (previously it was 25) then basic authentication with...

View Article

Image may be NSFW.
Clik here to view.

Fetch unique name and fill the Drop down

I have table like this and i have to show in the code behind like a unique name and the rundates associated with that name inside a gridview?How can i do that?

View Article
Browsing all 15680 articles
Browse latest View live


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