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

Recover all sql logins information from crashed sql server(have master db...

sql server crashed and we built another new server and tried to recover all sql logins from old server. only option is we have backup of all system database.how to recover sql server logins and...

View Article


Logging application responses to a network server

I have an application which creates log everytime an option is selected in it.I need to capture these responses directly to a SQL server. Is there any C# code to do so. And also the SQL server should...

View Article


Confusing multiple files in FG in partitioning code

So, i have a code given to me by a previous DBA for how partitioning is setup currently in our env, I am confused by the use of multiple files on a filegrp in the code, so here it goes:Looks like...

View Article

Problem with the column

Hi, I don't know why I get thisOLE DB provider "OraOLEDB.Oracle" for linked server "ORA_SYS" returned message "ORA-00904: "OB_OLD": invalid identifier".with this scriptCREATE VIEW [dbo].[vw_ite_tab] AS...

View Article

SQL error number is 5110

Background: Im creating an ASP .Net app in VS2005. Local machine has SQL express installed and server has developer edition of SQL 2005.When it tries to create the database file on a UNC share it comes...

View Article


Read Only db after attach on sql 2008

Hi,i have detach db from sql 2008 for some reason.i attached the db again. now it shows read-only.can anyone let me know why it shows read only?how can fix this ?Thanks!!! Varinder Sandhu...

View Article

Server restarting

Hi,MY CPU utilization is constantly touching 90%, sometimes 100%.Memory utilization is also on the higher end for sql server.Can this by any chance cause the windows OS to reboot.

View Article

SQL Database Size 0 and Unallocated space in negative ..how to Free up?

Hi everyone ,   One of database size on sql 2000 showing available space 0.00MB and unallocated space -6030.04 MB. Any idea how to free up space. Is could be reason database holding locks when user...

View Article


SQL Server Agent - [165] ODBC Error: 0, Named Pipes Provider: Could not open...

Hi,I keep receiving the error below in the SQL Server Agent Error Log;[165] ODBC Error: 0, Named Pipes Provider: Could not open a connection to SQL Server [2]. [SQLSTATE 08001]It is occurring...

View Article


Either KB2878139 article is included in "SQL Server 2012 SP1 CU9" or Not

The fix for error "Using 'dbghelp.dll' version '4.0.5' "is came in Microsoft in "SQL Server 2012 SP1 CU6" in article KB2878139 .I am not sure either KB2878139 article is included in "SQL Server 2012...

View Article

Cursor Expression

Is Cursor Expression in Select list  allowed in SQL Server?  

View Article

gMSA & SQLServer linked server

Setup - 2 servers each with one instance of SQL Server 2012 standard edition database. The sql service on both server are running with gMSA service account. Added SPN manually for this service for this...

View Article

Confusion on tempDB

Hi All,Every time we restart the sql server service we see tempDB recreated, and tempdb will get created as other database get created i.e from model database. But i see i have 4 datafiles in tempdb...

View Article


SQL server Procedure stores plan

Hi ,  While reading "benefits of stored procedure" I found term  in case of stored procedure sql server stores plan and reuse it that's why procedure are more faster than ad-hoc query .My question is...

View Article

Log file size is huge and cannot shrink.

I have a live database that is published with merge replication and a couple of push subscriptions. I just noticed that the log file has grown to 500GB. The database is in full recovery. We do weekly...

View Article


Snapshot agents are disabled but still run!

So I have merge replication setup. I have a lot of publishers. We only need to refresh the snapshot when we push a new subscriber, rare at best. Or when we add new articles. So I don't want the...

View Article

where is missing database space?

I have emptied all user objects out of my database however it says that out of 60000.00 MB only 4782.88 MB (7%) is free.The sum total of all objects in the database is 20MB, what could be using the...

View Article


Tempdb log shrinks every time I reboot

I need to set the initial size for tempdb log (what is allocated when SQL first comes up) to 125gb. I've tried setting it with SSMS and T-SQL and when I do, its size increases to 125GB; but, when I...

View Article

Error:

hello, our application vendors are receving the below errors while running their data load job.I spoke to our networking team member and he said everything looks good on the networking side .Can...

View Article

Import data from access using t-SQL

Hi experts,I want to import data from various Access tables to SQL server. I want to do it in t-SQL. I DO NOT want to do it using GUI for obvious reason that it would not do it dynamic way. Any...

View Article
Browsing all 12844 articles
Browse latest View live


Latest Images

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