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

sp_change_users_login

sp_change_users_login 'Report '   Does this actual reports the Domain Or Network groups and users If there any Orphan users ?

View Article


Missing bytes

If I have the following table with 51800000 rows and avg page space used of 99.79%. Why does the table use 1025792 KB? CREATE TABLE [FactVaR_S265_K1_K1] ([Factor Group Key] [TINYINT] NOT NULL, -- 1...

View Article


How to convert the Geography data into Lat&Lon?

How to convert the Geography Data type data into Lat&Lon?

View Article

EDU B E32-00981 vs EDU NL E32-00982

What is the difference between Microsoft SQL SERVER DVLPR EDTN 2012 EDU B E32-00981 and Microsoft SQL SERVER DVLPR EDTN 2012 EDU NL E32-00982

View Article

CDC capture instances

I am new to CDC and am running into an issue.  I am playing around with capture instances where I have specified the columns I am tracking.  I create a capture instance for a few columns and make some...

View Article


new instance unable to logon regardless of which account

existing server (server 08 std r2 / SQL 08 r2 std).   installed a new instance for a citrix database.  no matter what I do, no account can connect to the instance in SSMS (accounts that are sysadmins)....

View Article

Setting up linked Server in SQL 2008 R2

I'm trying to setup a linked server connection from SQL 2008 R2 to a SQL 2000 machine.  Here's my linked server settings: EXEC master.dbo.sp_addlinkedserver    @server = N'SOMESERVER.COM',...

View Article

Plan Guide Template Forced Parameterization Not Working (SIMPLE QUERY)

Hi, I need assistance with getting a forced parameterization query plan to work. The database has 'optimize for ad hoc workloads' disabled. The database is also set to a compatibility mode of 100. You...

View Article


embedded database in .NET program

Hello, I'm pretty much new to what I'm going to do. And I've got only a few days. I need to develop a C#.NET program that will invoke a stored procedure on SQL Server 2008/2012. Then I will need to...

View Article


Performance Issues

Hi Gurus, I just got a new job and we have a Data Warehouse and a bunch of SSIS packages/stored procedures that build the Data Warehouse overnight. Every other day, the jobs fail complaining about...

View Article

SQL database mail authentication

I would like to set sql database mail to authenticate with specific windows domain account. But the only option I have found is to send database engine service credentials. Database service credentials...

View Article

Restore a database from Enterprise Edition which has CDC enabled on a...

Hello, I have a SQL Server Enterprise Edition which holds a database which CDC enabled. I took a backup and then tried to restore it to another SQL Server but Standard Edition. I got below error...

View Article

Central Server mangaement system

Central Server mangaement system gives error on sql 2008 R2 dev edition TITLE: Registered Servers ------------------------------ Operation not supported on SQL Server 2005....

View Article


need space every 3 digits from last

Hi all, i have a column CITY, in that i have data like 'BANGALORE' but i need 'BAN GAL ORE' i mean every 3 digits need a space from last(need to start from right) how can i get like this plz help me...

View Article

SQL Job ExecCMD spans multiple lines

We currently have following code run as a T-SQL step in a SQL jon UPDATE Table1 SET Col1 = <somevalue> SET Col2 = <somevalue> SET Col3 = <somevalue> WHERE Col4 = <somevalue> We...

View Article


Image may be NSFW.
Clik here to view.

Databases are not getting displayed in SSMS

Hi, im using sql server 2012 and im stuck with a strange problem. i tried to restore a database snapshot to a database. usually it doesnt take much time to restore, but now it took 5 mins and still...

View Article

SELECT query, row versioning and TempDb

Hi All, I am on SQL Server 2008. I want to clear my concept about row versioning and usage of TempDb. In my database, read committed snapshot is ON. Now lets say, session1 is updating some data in...

View Article


What is the purpose of Transaction Log in Tempdb

Hi Experts, There are a lot of questions and blogs on truncating and reducing the transaction log of tempdb. But what I understand is that the purpose of transaction log is to recover database (on...

View Article

Querying LDAP via Linked Server in SQL Server

Hi all I need to query a WebLogic Embedded LDAP version 10.3 (11g) from SQL Server 2008 and I have found several posts online that describes how to query LDAP - trouble is that I can't make it work. My...

View Article

DBCC Checkdb running for ~4days

Hi, DBCC Checkdb was taking 2 days until last week and now it is running for almost 4 days and showing that it only completed ~38% as per following data from sys.dm_exec_requests and most of the waits...

View Article
Browsing all 12554 articles
Browse latest View live


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