Quantcast
Channel: Forum SQL Server Database Engine
Browsing all 15694 articles
Browse latest View live

characterizing work load

Hi all,I am a developer who writes business data queries for different application. Since we don't have a DBA now, I'll have to learn and do some dba activities. Currently we have sql server 2008 r2...

View Article


Partition scheme change with clustered Index

Hi, I have table which has 600 million records and also has the Partition on PS_TRPdate(TRPDate) column, I want to change it to another Partition PS_LPDate(LPDate). So I have tried with small amount of...

View Article


Disable Error 3197 "I/O is frozen on database %ls. No user action is...

Hi Experts,I have a MS SQL Server 2008 R2 Server with plenty of shared point databases. MS DPM (Data Protection Manager) configured for the databases backup. Every time the backup initiated it logs...

View Article

Error chain starting with write failure (error 655) during a DBCC CHECKDB...

Hello,We experienced the following error chain (extracted from the SQL Server logs) that ultimately caused our instance to restart and fail over one of our primary AGs, causing us unexpected (albeit...

View Article

Invalid object name for user-Defined table type parameter to stored procedure

I have a stored procedure defined with a single parameter whose type is a user-defined data type. On occasion when a call to this stored procedure is made I get an error "Invalid object name @ids". On...

View Article


Image may be NSFW.
Clik here to view.

You could be September's TechNet Guru! Turbo charge your CV with awards and...

TechNet Wiki is partnering with... YOU! Give us some juicy technical content and we might big you up!It really is that simple! Show us your forum solutions or drop us some nifty snippets and become...

View Article

Consistency Error, tried with DBCC checktable ('Table...

Consistency Error, tried with  DBCC checktable ('Table name', REPARI_ALLOW_DAT_LOSS) not able repair this error Problem remains same .       The CREATE UNIQUE INDEX statement terminated because a...

View Article

Windows user via group membership and sysadmin role for currently connected user

hello,I am trying to get a list of currently connected user who has sysadmin role. For the Windows login who doesn't have their logins created on the server but are part of Windows group, there seem to...

View Article


how to make .bak up file of a database in SQL server 2008 R2 ?

Greetings,I want to know what is the procedure to take .bak file of a database of sql server 2008 R2 and also how to restore that file , without running any sql query.

View Article


SQL 2008 R2 to SQL Server 2008 degrade passible

Can I install SQL 2008 on SQL 2008 R2 server as   I need 2008 only.  There is no data in the system

View Article

SQL Server 2012 Database Restore Checks

Hi,I have just restored a SQL Server 2012 Database. It's the first time I have done so. I can select data from the tables which suggests it's been successful.The final output message is 'RESTORE...

View Article

spid processes hang

the SQL server 2008R2 is the backend of an application. every now and then there are spids which are shown as not doing anything in activity monitor (do not have any status in the activity monitor -...

View Article

How to schedule job to run on the 6th business day

Good Morning ,I have a job that is scheduled to run once a month. Its a .bat file that used the OS (CmdExec) to execute the file, which in turns executes the Package. Now i want to run it on the 6th...

View Article


'Could not allocate space for object 'dbo.SORT temporary run storage'

Hello all,I’m trying to transfer/transform some data from one table to another, both on the same database. The source table holds 92M records.To do so I'm using the next statement: INSERT INTO...

View Article

Continue backup on error

Gurus,I know I should not have to continue back up on error. But there is the option to continue backing up even if an error is encountered.Can you give me instances where I may use continue on error...

View Article


A network-related or instance-specific error occurred while establishing a...

One of my friend using the sap based application. he is trying to connect the sql database server from sap application and he is trying to connect the sql server remotely from sap client which is on...

View Article

How to find the effective recovery model of a database ?

Hi,When a database is in full recovery model, but it hasn't a full backup, it works as a simple recovery model.So, the question : Is there a query to identify these cases  ? Identify the effective...

View Article


Differential Backups Failing

The differential maintenance plan is failing with this error message  "Cannot perform a differential backup for database "Search_Service_Application_CrawlStoreDB_e9b6abf77def428095e4156c66fb4e06",...

View Article

Image may be NSFW.
Clik here to view.

question regarding index properties for an index

Hi,per the topic.  This is a SQL server 2012 Sp1 with CU4 I was working on optimizing a query and was looking at the index property for a table, in the fragmentation page, I see 0 for everything.  This...

View Article

Get Table Data Output into a text file

Hi Experts,I have below code. Which is taking data from 2 tables and archiving it to some archive database. After archived. Its deleting data from the production table for the specified data range... I...

View Article
Browsing all 15694 articles
Browse latest View live


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