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

Add Identity Column to an Existing Table - SQL server 2008

I have a table T_ACTIVITY_ERRORS which has fields ACTIVITY_NUMBER,ERROR_ID, ERROR_COMMENTS etc and the number of records in the table are close to 20,000. I want to add a new column ACTIVITY_ERROR_ID (...

View Article


Image may be NSFW.
Clik here to view.

Utility Control Point

I am trying to explore the R2 feature Utility Control point and i figured that it creates a lot of SQL Server jobs. Is there are good white paper or some such that talks what role or task each of these...

View Article


DACPAC powershell deployment issue

Hi, I am using SQLServer 2008 R2 with SP1 and getting an error while deploying a DACPAC by using powershell script. The DACPAC has been generated by using MS VisualStudio 2010 Version 10.0.402191...

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

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

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


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


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

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

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

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


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

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


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

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


Is it true A lookup only can happen on a clustered index.?

 A lookup only can happen on a clustered index.  is it true? how /whyManish

View Article

SQL Server Services stopped

Hi, How to find out who stopped sql server servics (database service and agent service)? I am facing this situation, SQL Server service and agent service stopped between 12:00 to 1PM. I just want to...

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 12554 articles
Browse latest View live


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