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

VS 2012 Pro - How to print values in Textbox

Is it possible to print the property values of a textbox?ecb

View Article


SQL Server Agent Jobs not running 'SQL Server Agent is not currently running...

Hello All,We have sql 2008 R2 SP1 A/P cluster running on VM.SQL Server Agent jobs are not running. If I manually try to run the job it gives below error'SQL Server Agent is not currently running so it...

View Article


SQL Server becomes Unresponsive

Hi,  We are having this issue on our prod server from yesterday. Everytime this happens Server becomes unresponsive and I have to reboot the machine. Looks like this is being caused due to high...

View Article

SQL Express database file auto-creation error but web-config changed to Azure...

I have an app that is based on the new MVC4 template with SImple Membership provider.I've deployed the app to an Azure website and changed the connection string from a local express-database to an...

View Article

Import data from Sql tables to Ms access

I need to transfer few tables from  sql to ms access using query.Can some one please help in writing it

View Article


Mirroring status

hI all,In our production environment mirroring is configured for 2 databases ABC and XYZ. When i see the mirroring status through TSQL SP_DBMMirroringResults the status is showing synchronized and...

View Article

System.Data.SqlClient.SqlException (0x80131904): Timeout expired.

Hi, I have an application that has started failing with the above timeout error. Can anyone advise on the best way to identify exactly which stored procedure is failing? Can I use the Profiler for this...

View Article

Create Partition on Existing Table and then Separate the data and further...

Hi All,I have a existing table on Primary File Group sayTable Acola, colb, colc, coldNow i want to create partition on this table and the data should be distributed based on values in colcEx, i have...

View Article


Replication and partitioning in sqlserver 2005

Hi,I am not able to find a document about any partitioning operation limitations for replication. Can any one help to answer the following questions.1. Can we harmlessly replicate partioned...

View Article


High compile time SQL Server 2012 v 2008

We are in the process of testing the upgrade of our SQL Server 2008 database to 2012. We have found there are a number of queries that are performing significantly slower after the upgrade.We have...

View Article

Powershell to import csv file

Hello all,Running sql 2008 sp1New to PowerShell. Can someone please check the syntax and tell me if something doesn't look right.Trying to load a csv file into a tableThe csv file is comma delimited...

View Article

help shredding/reading system health report

How does one best read the XML from the system health report on SQL 2008?Someone must have written some nice shredding code, any pointers or posts to such?Thanks.JoshSELECT @@SERVERNAME as servername,...

View Article

Query Text changing

Hi All,under what senario a query text sent from an application  changes in SQL ServerQuery sent from app "SELECT * FROM xyz where col1=3434"  with in SQL Server i found sp_executesql "SELECT * FROM...

View Article


File Table queries to delete t-log files

we currently have some C# or C++ code that deletes t-log backup files from disk after they are x number of days old.  is it possible in sql server 2012 to use the new file table feature to write a...

View Article

Error:remote procedure call failed 0X800706be in 2008R2.

i installed SQL server 2008r2 in windows 8.but when i open SQL configuration manager it show error like procedure call failed 0X800706be.After searching i installed SP2 for SQL server.then also i...

View Article


Drop partition

In sqlserver 2005, If i have partitioned my table based on date for each month, how do I drop partitions having data older than 3 months. This is to do the archiving the old data as we don't want old...

View Article

Tempdb unavailable couldnt find the error

HiI faced an issue today early morning. My instance is running on cluster, and suddenly at 3 am tempdb went unavailable. I checked the error logs, event logs and system logs but couldnt find the reason...

View Article


Unable to bring database back into MULTI_USER mode.

View Article

Cache Data page

eg.set @id=10select * from table1 where id >=@id and  id < 20first time , engine will search data cache and finally pull data from disk .2nd timeset @id=10select * from table1 where id >=@id...

View Article

Database Status

Hi Gurus,How to check database status whether it is running fine and transaction log size and database log size is fine or not.What are the safety metrics to observe the performance.Appreciate your...

View Article
Browsing all 15264 articles
Browse latest View live