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

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


login failed error

Hey friends,In my SQL server 2008 R2, I have found in error log contineously following error:Login failed for user 'domain\tomt'. Reason: Attempting to use an NT account name with SQL Server...

View Article


Transaction Log backup error

We were trying to backup the transaction log for one of our databases that is in Full recovery mode. However, while trying to perform the backup we encountered the following error.Backup detected log...

View Article

Logshipping and the time problem

Hi allI set the logshipping for a database, however it only run for one time. And I found the time of the server change to another day after the first logshipping.any idea about this issue ?

View Article

Image may be NSFW.
Clik here to view.

Statistics and Tempdb

OS - Windows 2008 R2 SQL Server - 2008 R2 SP2 I executed the following t-sql to gather statistics info on a server: declare @temp1 table (DbName varchar(250), TableName varchar(250), IndexName...

View Article


Database initial size question

Hi all,I've noticed that a such application's databases constantly grow in size, this is not a problem at all. But I've also noticed that theese databases' initial size grow (initial size = actual...

View Article

restore while backup job is running

We are using sql server 2008, planning to migrate to sql server 2012.We have an ETL process (job 1) that runs each night to restore data from server-A to server-B; We also have a backup job (Job 2) set...

View Article

Recovering 1TB of unallocated space?

Please read the post well. I posted somewhere and most of the posters assumed that the 1TB table is there. It's not. Also, the size of the MDF is 1.75TB, the HDD has 1.83TB used and 65.8GB is free.So...

View Article


Helping interpreting SQL 2008 deadlock graph

One our of ASP.NET web apps was a deadlock victim while trying to update a column value on a record (batch table in our case). The app tried to update a column value for a single record to reflect an...

View Article


VS 2012 Pro - How to print values in Textbox

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

View Article

The query has been canceled because the estimated cost of this query exceeds...

Hi Experts, I am getting below error while executing the stored procedure. The query has been canceled because the estimated cost of this query (3258) exceeds the configured threshold of 2500. Contact...

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 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

Existing Table Partition

Hi,We have a existing table and it has two date columns (Datatype - Datetime) and it's very big table and we would like to make a partition table. This is a frequently accessed table. We need partition...

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

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


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

Need a plan to "trap" intermittent blocking

Everything has been running fine for a few months then I get a phone call that everyone in a department using the same app is locked. sp_who2 shows that spid 80 is blocking at least 20 other users....

View Article
Browsing all 15680 articles
Browse latest View live


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