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

Index Rebuild

Hi,I am planning to rebuild index on my database.(SQL Server 2005 Standard Edition)When i query sys.indexes some tables showing 90% and some tables showing 0% fill factor.In this case how can i rebuild...

View Article


write a storedprocedure for manually inserting percentage values based on...

Hi,Please help me to write a storedprocedure which automatically populates % values based on student marks for each studentSIDSNAMEMARKSPERCENTAGE1MIKE100 2ROSE98 3PETER90 4NIKI50 5THOMAS50 6GEORGE70...

View Article


Reduce MDF file

Hi I rebuild/reorganize indexes on one of my Production database.After this .MDF size gone to very large, No issue with LDF.Now how to reduce size of the .MDF.I knew that doing Shrink db is not at all...

View Article

Multiple instances

Hi AllAny body heard about when using default instance name when installing MSSQL + on VM machine. There will be CPU loading problem ??Are there any guideline to show single instances vs multiple...

View Article

A server cursor cannot be opened on the given statement or statements. Use a...

Hi,I'm using a stored procedure to return data for a report. The stored procedure is used through recordset, so the application send's code to open the result as a cursor.When I run the stored...

View Article


SQLserver 2008 R2 and SQL express 2008 R2 co-exist on the same server

We have a software installed SQL express automatically . I installed SQL server 2008 R2 standard version but I only can login SQL express and see the sqlexpress DB, I cannot login sql server even with...

View Article

how to move tempdb one drive to another drive and one server to another server ?

Hi...........Good morining....1in interview.....how to move tempdb,MSDB, Model and Master.... from one locaation to another location..? in production environment..?I said answer for tempdb,msdb, and...

View Article

Error: 18056, Severity: 20, State: 51

In sql server 2008 R2 SP2  i got the below error. "Error: 18056, Severity: 20, State: 51" . Please help me to understand what the issue and what is the resolution?

View Article


Image may be NSFW.
Clik here to view.

Retry Attempts in SQL server Job agent

I am a bit confused on this feature here. The Retry Attempts are listed under the On Success Action. so how is this feature supposed to work?Retry Attempts after success or after failure? Vijetha

View Article


Need to disable Auditing in SQL Server 2008 R2

Hi All,In SQL Server 2008 R2 (RTM) 64 bit SP1 i want to disable Auditing feature. This is a production server and its a cluster server.

View Article

Snapshot is disappear after sudden lan down in the data centre for 20 minutes.

I have a setup of sql server 2008 database mirroring and there is  a snapshot  of mirror database.There was  a sudden lan down in the data centre for 20 minutes in which the mirror database is become...

View Article

Problem in changing password of sa account.

Hello, I cant change my password of sa. I have tried with codes belowALTER LOGIN [LOGIN_NAME] WITH DEFAULT_DATABASE=[master]GOUSE [master]GOALTER LOGIN [LOGIN_NAME] WITH PASSWORD=N’NewPassword’...

View Article

SQL SERVER 2008 R2 is not Working....

Hi...I am using Sql Server 2008 R2 and using local server. about 2 weeks ago i changed my windows password. Sql was working fine. yesterday i shut down my laptop and when i started again for work sql...

View Article


Strange Windows 2008R2 Cluster Disk Issue

I have a 2 node Windows 2008R2 cluster connected to a 3PAR running SQL 2008 R2 Server.  We had a hardware failure on a node 1 which cluster failed SQL server properly over to node 2.  However, while...

View Article

Error message: 'CHR' is not a recognized built-in function name

HiI am using SQL server 2008R.When I run a spesific *.abs file, I get this error message: 'CHR' is not a recognized built-in function nameAnyone know how I can fix the problem

View Article


looking for DB Design solution..

Hi,Here is the situation:We had pretty old product suite.  It has many applications( with separate databases), all these application will communicate with windows services for data.  And this product...

View Article

Migration and then the application could not access the database!

GurusI migrated a database to a different server and the application can no more connect to the database.can you help on this plsI appreciate your time in advance ebroebro

View Article


Reduce MDF file

Hi I rebuild/reorganize indexes on one of my Production database.After this .MDF size gone to very large, No issue with LDF.Now how to reduce size of the .MDF.I knew that doing Shrink db is not at all...

View Article

Partition Problem with Data Types and File Group

 Q1) I have created Partition function on DateTime data type on A column, which belongs to 50 tables only, 10 tables have to DateTime but its B Column. So Can I Create the Partition on B Column for...

View Article

LocalDb slower than Sql Server 2008 express ?

Hello,I am currently using sql server 2008 express to create a local database on my computer. But I recently want to upgrade to sql server 2012 localDB, because is less trouble to install. But before...

View Article
Browsing all 15889 articles
Browse latest View live


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