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

To get a SYSTEM NAME even using sa or Group login other than Windows...

how to get system name in username when we write a select query Select SUser_sname() in sql server 2008 r2.Actually , requirement  is  I have to give a sql serevr login to the client.NOTE : I cant...

View Article


Error while trying to upgrade SQL 2008 (SP2) to SQL 2012: There was a failure...

Hi,I am trying to upgrade one of our SQL Server Enterprise (2008 (SP2)) to 2012. I am using the upgrade option but it gives me the following error:Error Code 0x85640002: There was a failure to...

View Article


Clearing and Keeping the Log

Hi All I am doing a program where at the end of everyday there is a backup.BACKUP DATABASE [BASE] TO DISK = @path WITH NOFORMAT, NOINIT, NAME = N'BASE-Full Database Backup', SKIP, NOREWIND, NOUNLOAD,...

View Article

calculate the average usage time of a product by model and manufacturer for...

Hello guys  I wonder how I could calculate the average usage time of a product by model andmanufacturer for this product.  If anyone can help me I will be grateful.considering this table:CREATE TABLE...

View Article

Attach pdf files or DWG to a table

HiHow can i attach pdf files or DWG  or.... to a table?Best

View Article


About DMV [dm_os_memory_broker_clerks] for SQL2012

I just find a DMV named [dm_os_memory_broker_clerks] in SQL2012, but I can't find any description for it including MSDN, is any anyone can help to explain it or give some material for it? Please click...

View Article

Server maintenance

Hi We used to perform the server and database maintenance in the weekend but users start using theserver in weekend also. I need to avoid the downtime of the server while the maintenance it maycause...

View Article

Change compatibility level to 110 disables indexes with computed column on...

I have a very large DB which I need to change its compatibility level to 110.I have 4 indexes on computed column on the function Soundex in this DB.When changing the compatibility level, I get a...

View Article


Change Tracking: No access to parent table after delete.

Synopsis: I’m using Change Tracking to track changes in a Child table.  I’d like to group them by a Parent key, and keep track of one MAX value. Works great, except for deletes.  Details:Two tables,...

View Article


User defined DML

Hi, Is it possible to alter SQL DML commands(like select, insert.,) user defined, from DB architecture point of view?For eg: use any words instead of selectSELECT * from table    // if SELECT= reap...

View Article

Unable to Connect Database Engine via Windows Authentication

Hi All,When I try to login on SQL Server 2008 R2 via Windows Authentication I receive error.TITLE: Connect to Server Cannot connect to (local). ADDITIONAL INFORMATION: Login failed for user...

View Article

Maintanance backup plan fail

Hi allI have a maintenance plan to backup ALL databases on everyday 11:00am. however it failed start from wednesday.I see the log is so strange:Executing the query " declare @backupSetId as int select...

View Article

Remove certificate from Win 2008 R2 used for SQL 2012 encrypted connections

I need to remove self signed certificates from a 2 node cluster that was used for testing SQL Server 2012 encrypted connections.  I did a similar test on my desktop and SQL Server would not restart...

View Article


new dbms which supports user defined dml

HiSo is there any architectural possibility of making a DBMS with user defined DML capabilities?i.e., Other than SQL server.Thank youmeNeethu

View Article

SQL Database Hierarchy Structures for WinRT

I've done a lot of reading over the past about SQL and database structures. One of the most helpful...

View Article


The operating system returned error 170(The requested resource is in use)

Hello Experts,We have a Sharepoint farm where we are receiving OS Error 170 for many days. It results in database shutdown/Start because required transaction file is not available.The operating system...

View Article

Strange results from sys.partitions system view

There is a strange problem on some of new upgraded sql server 2012 servers,for example:use testDB go select partition_id,object_id,index_id,partition_number,rows  from sys.partitions  where object_id =...

View Article


Database table wrongly update

Hi team,I have one big production database; under this production database one very important table is there.Here I am updated the table wrongly, but I have table backup before updating  the table.Here...

View Article

old mdb file is growing fast

HiOur radio station uses a music playing schedule the front end appear to be written in SQl but the actual schedule file is an access mdb file. When this is refreshed (new schedule created) every...

View Article

Best Practices for Install on VMware / SQL Server 2012 / Sharepoint Server...

Hello, I searching for information about best practices to implement or parameters to configure before or during the installation under VMware / ESX environment / vSphere and SQL Server 2012 and...

View Article
Browsing all 12554 articles
Browse latest View live