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

RAISERROR in SQL 2012 since SQL 6.5

Hi everyone,we must to upgrade SQL 2008 R2 to SQL 2012, but all the RAISERROR in stored procedures are in the sintax:RAISERROR 50001 'Error during execution of task XXXXXX'Obviously, this sintax is not...

View Article


How to shrink database after deleting multiple rows in a table?

Environment: SQL Server 2008 R2 Enterprise Edition and using primary filegroup onlyDon't have enough space to create a new filegroup and move all tables/indexes to the new filegroup.Objective: Reclaim...

View Article


Image may be NSFW.
Clik here to view.

Cardinality estimates on a parallel join are wrong

Hello everybody,I'm having a problem with pretty simple query where the cardinality estimates seems to be off and usual methods that I knew for this kind of problem don't help.The query: SELECT...

View Article

rebuilding catalogs

whenever i create new user,job or course to the database and when i tyry to fetch the records i am unable to search the records,but when i rebuild the catalogs i am able to fetch the same which i was...

View Article

Backup of files failed

When I try to back up I get several errors.  This time it said Backup failed. One or mor soorce disks is missing.  What does that mean?

View Article


Execution Plan Caching - Zero Cost plans

Hi allI am aware that SQL Server's plan cache eviction policy is: When memory pressure is detected, all Zero-cost plans are removed from the plan cache.By zero-cost, does this mean the cost of...

View Article

Physical connection is not usable

One of our stores is often getting the following error: "A transport-level error has occurred when sending the request to the server. (provider: Session Provider, error: 19 - Physical connection is not...

View Article

Exchanging data between databases fails in scheduled jobs

In a environment where multiple servers running SQL-Server 2005 support various databases i have to exchanga data and results between two databases running on different servers. The transact-sql...

View Article


Bulk Insert picking wrong rows

HiI need to insert a csv file with number of sections of data within it. when i give the row numbers to pick the data, it picks the data from some other row numbers. dont know how it is calculating the...

View Article


SQL Server 2000 high cpu, low io.

Hi! AllI have a box with cpu higher than 80% and low IO (logical page reads low).I have a trace runing to capture queries with cpu higher than 1000 ms.Selected classes are : RPC Compteted,...

View Article

SQL 2012 issue in restoring differential backup

Selected full backup and choosed Restore with NoRecovery, Full backup restored After then, when I try to restore the differential backup getting the error as”Unable to create restore plan due to break...

View Article

Missing SQL WMI Class

Hello, our new monitoring tool is using the following to get SQL statistics: Win32_PerfRawData_MSSQLSERVER_SQLServerDatabases The problem is this class is not present when we try and query with WMI...

View Article

Scripted SQL Agent Job - Max number of Steps

Hi thereI have a scripted SQL agent Job that has 33 steps in it that was scripted out.  When Trying to recreate the job on another instance it is failing with the following error message:Msg 14266,...

View Article


sql server scale out with distributed partitioned views

Hi. Our company manages an online auction and shopping website(something like ebay), and I have questions regarding to scaling out solutions. we are running Sql Server 2008 R2 Enterprise edition(which...

View Article

MDW Data Collector doesn't work, meaning the custom_Snapshot table isn't...

I think the issue is with a long query in XML. Please, how to make this work?Here are the definitions I used:STEP 1 --- Find Collecter TYPE ID fromSELECT collector_type_uid ,* FROM...

View Article


How do you troubleshoot a slow running query?

Hi guys, I got asked a question in an interview.  They asked me, if one of your users came to you and told you that a query that use to run 2 seconds, now takes a few minutes to run, how would you go...

View Article

Memory (32 bit win 2003 and sql 2005) 4Gb RAM

Hi........Q: 32 bit  win 2003 and sql 2005  RAM Size is  4GB.how can increase the RAM size up-to 16 GBThanks & Regards,Vijay

View Article


SqlBulkCopy error following failed SQL Server Upgrade - permissions in...

Wondering if anyone has run into this before and might have suggestions about what to do about it:We have a system that has SQL 2008 Standard Edition on it.  A few weeks back, the hosting provider...

View Article

Heterogeneous queries and use of OLEDB providers are not supported in fiber...

I get following error when i run queries from one server to another. ANy help much appreciated. I created linked server and using that.  Heterogeneous queries and use of OLEDB providers are not...

View Article

Is it possible touse Single share disk for 2 SQL instance installation on...

Hi AllCan we install 2 SQL instances on Same shared disk on Single node cluster. Any supporting document / Blog would be appericiated.If any of you already did that , please share details.Thanks...

View Article
Browsing all 15264 articles
Browse latest View live


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