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

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


Find the user name who is restoring or backup the Database?

How can we find the which user name is restoring/bakcup the datbase?--Ron.

View Article


ODBC connection

Hi,Client is installing Crystal Reports on his computer. He needs access to one of database on SQL Server 2008. What is required to establish connection from crystal reports odbc connection to sql...

View Article

SQL Server Monitoring Script

Hi,I am looking for daily database server monitoring scripts. I want to run script from one server and generate Excel sheet that contains data for all other database servers:1. Disk space used/free2....

View Article

Simple question on moving SQL2005 master database

Hi,I need to move the master database on an SQL2005 server from one location to another. I have read numerous articles/questions on this and...

View Article


Question on database replication

SQL Version: sql server 2008 r2 SE  OS: windows server 2008 R2 SEWe are implementing a new architecture for one our modules. There are 100 tables in the database and out of which 45 tables are using...

View Article

sp_send_dbmail won't take @query SQL 2005 64bit

I am trying to send query results via email. The command works fine without the @query parameter but gets the following error with it. No query works, I tried several as well as a select, all result in...

View Article

In Access 2007, Converting Access accdb to a database of SQL Server 2012...

Hi all,My Computer Team just installed a brand new "Microsoft SQL Server 2012 Express"/Microsoft SQL 2012 Management Studio (SSMS) in my "Windows 7" PC that is part of our "Windows" Computer System....

View Article


What is the Impact of these type memory settings

I m seeing in of our server, The "Min server memory"has been setter to 6 GB, Max Memory 9 GB and the memory utilizing is 95%. The toatal server memory is 12GB.Is any thind bad by setting Min Server...

View Article


How to check the size of SQL Error Log

The task is to check if the SQL error log and SQL agent error log size reach x MB, then cycle the logs. This is done programmatically and automatically, not using SSMS or other manual methods.I know...

View Article

How to find current statement start time.

If a batch which consists of multiple statements is being executed I can find out the start time for the batch from exec_requests (SELECT start_time FROM sys.dm_exec_requests WHERE session_id = @SPID)...

View Article

Image may be NSFW.
Clik here to view.

"EXEC sp_configure 'fill factor', 100" Does not take affect

The current fillfactor of the server is set to 95, I have been trying to change it back to default 100 but the sp_configure commands is not taken into affect. Below is the script I run and the result...

View Article

Image may be NSFW.
Clik here to view.

combining DBs from multiple SQL servers

Hello,I need a suggestion for optimizing SQL infrastructure.Current situation:about 20 Applicaton servers with local SQL servers:SQL 2005 on Server 2003SQL 2008 on Server 2008Different level of SPs....

View Article


Attach Database in SQL Server 2008 is not working...........!!!!!

TITLE: Microsoft SQL Server Management Studio ------------------------------ Cannot show requested dialog. ------------------------------ ADDITIONAL INFORMATION: Parameter name: nColIndex Actual value...

View Article

How remove defunct file in sql server 2005

Hi all,i want to remove defunct file from my database.well i make one of file offline with out backup.then i remove filegroup so my file becomes defunct.there is no data..even i dont want that file.i...

View Article


SQL Server 2005 : tables fragmenting rapidly

Hello,Background about issue/problems: Application was developed in ASP, ASP.net FW 1.1 (front-end) and SQL Server 2005 as (back-end) and have been running on production server. From past couple of...

View Article

Columnstore index switching to row mode with inner join

Hi all,Considering the following "example" query with a columnstore index:SELECT ClientId, SUM(OrderAmount) FROM Order GROUP BY ClientIdExecution plan shows a nice batch execution mode.  When I do...

View Article


Question about sys.dm_db_index_usage_stats.

Greetings. I'm running this query on a 2008R2 server:select * from sys.dm_db_index_usage_stats where database_id = db_id() and user_seeks = 0 and user_scans = 0 and user_lookups = 0And getting 11...

View Article

sql server dba

 how to take table backup by using query & gui 

View Article

Getting most_recent_sql_handle from prior session?

Hi, We are migrating a COBOL-DATACOME application to .Net COBOL and SQL Server using MicroFocus.  I have been monitoring the queries via using DMVs and and traces.  I notice an odd thing once in a...

View Article
Browsing all 12554 articles
Browse latest View live


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