Quantcast
Channel: Software Applications Programming Errors and solutions.
Browsing all 277 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Why we go for Replication in SQL

Log shipping, mirroring & replication are various types of HA (high availability) features. Each of them have their own set of pros and cons and various sets of features. Hence there is no...

View Article


Image may be NSFW.
Clik here to view.

Reason for application is running slow from a DBA side in SQL

There might be some reasons behind it:1. Blocking situation2. lack of userfull indexes3. Lack of updated statistics4. deadlock situation5. network issue6.Check the status of query.It can be either of...

View Article


Image may be NSFW.
Clik here to view.

SQL Error on running of Enterprise portal ,sharepoint site

I am getting following SQL Error on running of Enterprise portal ,sharepoint site Could you advice solution on this error.Unknown SQL Exception 10054 occured. Additional error information from SQL...

View Article

Image may be NSFW.
Clik here to view.

Error no:1418 on Mirroring in SQL

The server network address "xxxxx" can not be reached or does not exist. Check the network address name and reissue the command.Pls check endpoints on all servers using SELECT * FROM sys.endpointsIf...

View Article

Image may be NSFW.
Clik here to view.

SQL Server Build version

This is a list of ll SQL Server Build versions till Year 2014 6.50.201 SQL Server 6.5 RTM 6.50.213 SQL Server 6.5 SP1 6.50.240 SQL Server 6.5 SP2 6.50.258 SQL Server 6.5 SP3 6.50.281 SQL Server 6.5 SP4...

View Article


Image may be NSFW.
Clik here to view.

What is latches in sql server

Microsoft SQL Server provides counters to monitor internal SQL Server resource called latches.Monitoring the latches to determine user activity and resource usage can help you to identify performance...

View Article

Image may be NSFW.
Clik here to view.

How to add files to logshipped SQL database?

Run log back up job on primary server and disable backup job to make sure not to run any backup jobs further until we enable again. check the log back ups if there are any need to be restored on...

View Article

Image may be NSFW.
Clik here to view.

How to patch service pack for sql server clustering?

Patch the passive node first then reboot the node and then fail over instance on that node and then in similar manner patch the other node. This you can apply for sql 2008 and above.In SQL Server 2012,...

View Article


Image may be NSFW.
Clik here to view.

How to add multiple log files in SQL Database

Below query can create ldf file.Its creating second ldf file on Testdb Database. You can create as many as you want.USE [master]GOALTER DATABASE [TestDb] ADD LOG FILE ( NAME = N'TestDB_Log2', FILENAME...

View Article


Image may be NSFW.
Clik here to view.

How to add multiple foreign keys in a table from different reference tables...

To  add multiple foreign keys in a table from different reference tables in SQL you can try below methods in sql query editor.1. Alter table table_name add constraint constraint_name foreign...

View Article

Image may be NSFW.
Clik here to view.

How To Identify The Long Running Queries in SQL?

These queries can help you  To Identify The Long Running Queries in SQL.1.SELECTcreation_time,last_execution_time,total_physical_reads,total_logical_reads,total_logical_writes, execution_count,...

View Article

Image may be NSFW.
Clik here to view.

types of pages in Sql server

1>data 2>index 3>text/image 4>GAM/SGAM 5>page free space6>IAM 7>BCM 8>DCM

View Article

Image may be NSFW.
Clik here to view.

how to change log file auto growth restricted growth to unrestricted growth...

To change log file auto growth restricted growth to unrestricted growth in SQL you can try option below. I hope it will help you.Right click on "dbname"->Properties->Click on files->you will...

View Article


Image may be NSFW.
Clik here to view.

Way to find differential backup for SQL Database

1.Check MSDB backup history for that databaseselect * from msdb.dbo.backupset where name='dbname' and type='i' order by backup_finish_date desc2.dbo.backupset: provides information concerning the...

View Article

Image may be NSFW.
Clik here to view.

How to convert excel sheet data into SQL

To convert excel sheet data into SQL Table you can use import and export wizardSql server management studio ->choose the Database and right click on Database->Tasks->Import Data/Export Data...

View Article


Image may be NSFW.
Clik here to view.

How to set PLE(page life expectancy) in sql server

To set PLE(page life expectancy) in Sql server you can get help from following way..PLE is used to faster access if data who pages are in buffer.sp_reconfigure 'page life expectancy' newvalue

View Article

Image may be NSFW.
Clik here to view.

How to change authentication mode in SQL Server

To  change authentication mode in SQL Server for mixed mode or windows authentication mode you can try as below.Mixed Mode (SQL Server Properties --> Security --> Server Authentication --> SQL...

View Article


Image may be NSFW.
Clik here to view.

Some Light on Roleback and commit transaction in sql recovery mode

If log truncation is performed when your transaction is still running then it will truncate only committed transactions and there is no impact on the current running transaction. if your transaction is...

View Article

Image may be NSFW.
Clik here to view.

SQL DBA Checklist

Following can be SQL DBA Checklist on daily,weekly and monthly basis.1.SQL DBA daily checklist can include Database backup status, Database integrity checks, failed jobs.2.Weekly checklist can include...

View Article

Image may be NSFW.
Clik here to view.

What is purpose of the data center?

Data center is used to store all our servers and need to maintain (power supply,network,connectivity,AC and others) those servers from the DC in a specified safe environment with all the facilities.....

View Article
Browsing all 277 articles
Browse latest View live