Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...



SQL Server Interview Questions
Questions Answers Views Company eMail

In the below query i have performed the commit transaction statement but still the values after the save are not saved. Can you please let me know why are the statements after save are rolled back even after commiting the data. help me with the understanding declare @trans2 varchar(10)='transaction2' begin transaction @trans2 insert into emp values(100,'xy',600); save transaction @trans2 insert into emp values(200,'pq',700); insert into emp values(300,'pq',800); commit transaction @trans2 rollback tran @trans2

AllState,

1 3546

Repair mdf file

2 3810

Help!!!!!!!!!!!! My database has gone offline, it is highlighted as 'Suspect'. Foolishly, i haven't got a recent back up. Is there a way of quickly restoring the database? Thank you

1 1806

sql database suspect We have a sql database that is showing as suspect. How can we recover?

1 2027

what is cursor?why we will go to cursor?advantages &disadvantages of cursors?

1 3251

How do you find value of first column before inserting value into the second column in the same table for checking that second column must have different value than first column.

L&T,

2 5451

How do I repair damaged sql server mdf file database? In previous day my mdf file has got damage due to unknown reasons then I used dbcc chekcdb command but it failed, MDF file is important for me, I don’ know that how to get back mdf file data. Please anyone suggest me?

1 1806

Restore database SQL2000, SQL2012 Backup of base is created in Microsoft SQL Server 2000 - 8.00.2066, I can't restore on Microsoft SQL Server 2012 - 11.0.2100.60

IT Decisions,

3 4306

two tables are there.1st table EMP has two columns ID and name and contains data 1,A 2,B 3,C 2nd table EmpSal has 2 columns ID and Salary Contains data -1,1000 2,5000 3,3000 Find name of employee having maximum salary ?

CSE,

5 6487

I have a table emp , Fields with empname,dnname,dno,salary. now I want copy distinct salary with all emp detail from emp into new table which is not already exist in database. how would I do this ?

Techno Labs,

2 4208

how to copy only distinct data into another table which is not already exist in database?

Spectra,

2 4459

difference between function and procedure

Cognizant, HCL, TCS, Theorem,

3 5536

2) Consider a Table name A which has below records ID --- 5 5 5 5 5 Consider another table B which has below records ID -- 5 5 5 5 5 5 5 5 How many rows will be returned by each of the below queries a) select * from A inner join B on A.id = b.ID b) select * from A left join B on A.id = b.ID c) select * from A right join B on A.id = b.ID

Synechron, TCS,

2 5092

How to read 2nd highest sal from EMP table?

IBM, TCS,

5 6346

how to overcome kernel isssues

Fortune,

1 1706


Un-Answered Questions { SQL Server }

How to rebuild the master database?

1148


What is in place upgrade in sql server?

1113


When should you use an instead of trigger?

1033


Explain “row_number()” in sql server with an example?

1060


Equi join and non equi join is possible with sql server?

1108


Is there any performance difference between if exists (select null from table) and if exists (select 1 from table)?

1015


What is the primary use of the model database?

1141


What is clustered index

1069


Why and when do stored procedure recompile?

1042


How can I check that whether automatic statistic update is enabled or not?

1101


What are the pros and cons of putting a scalar function in a queries select list or in the where clause?

1276


What is a scheduled job or what is a scheduled task?

1018


How efficient you are in oracle and SQL server?

1234


Can we do dml on views?

1024


What are the different subsets of sql?

1633