Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

TCS SQL Server Interview Questions
Questions Answers Views Company eMail

what is Full Text Search ?

1 4633

New concepts of sql server 2005 use in your project.

1902

default databases available in sql server and there uses ?

4 5656

This question asked during interview, 2) At the end of each month, a new table is created for each bank that contains monthly metrics consolidated at the account level. The table naming convention is bankX_YYYYMM where X represents the numeric designation of the bank and YYYYMM indicates the 4 digit year and 2 digit month. The tables contain the following fields: name data type description account text account number registered boolean indicates whether the account is registered num_trans integer number of transactions made during the time period spend numeric(9,2) total spend during the time period a) Write a SQL query that will display the total number of transactions and total spend for "Bank1" during the 4th quarter of 2009. b) Write a SQL query that will display the total number of transactions and total spend at "Bank1" and "Bank2", broken out by registered vs. non-registered accounts, during January 2010 not sure what is correct answer and how to solve?

2007

wat is tuff file in log shipping, wt is d use of tht file?

1 5580

Where is SQL Srever (In sQL server 2005/2008 where is SQL Server Located).

2 3715

Delete duplicate records from the table?(Table must have unique id)

7 10158

In the primary key have a multiple field or not?

8 7083

Consider a table with 8 rows 4 rows contains value 0 and 4 rows contains value 1.Now write a single update query to make all 0's as 1 and all 1's as 0

7 8101

hi. suppose one person goal is strong knowledge on SQL.... suggest me ...if he learns SQL SERVER or ORACLE? which is best?

7 11869

What is the difference between Temporary table variable and a Table variable? Or Which Table variable I should use inside Stored procedure?

3 7133

difference between function and procedure

3 4204

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

2 3993

How to read 2nd highest sal from EMP table?

5 4576

what is checksum in sql server.........???

1196

Post New TCS SQL Server Interview Questions


TCS SQL Server Interview Questions


Un-Answered Questions

What tableau desktop is?

210


What is the alternate way to click on login button?

1080


public static void main(String args[]) describe it

1566


What is the difference between setImmiediate vs nextTick?

241


Explain difference between cap and pcr ?

754






public class ActionDTO extends GenericDTO implements Serializable,Auditable { // default serial version id, required for serializable classes. public static final String ACTION_SUSPEND = "SPN"; public static final String ACTION_DEREGISTER = "DRR"; public static final String ACTION_REINSTATE = "REI"; private static final long serialVersionUID = 1L; private Long actionId; private long accountId; private Date actionDate; private String actionType; private String remarks; private AccountDTO account; public ActionDTO() { } public ActionDTO(Long accountId, String action, String remarks, String updatedBy) { setAccountId(accountId); setActionType(action); setActionDate(new Date()); setRemarks(remarks); setUpdatedBy(updatedBy); } public Long getActionId() { return this.actionId; } public void setActionId(Long actionId) { this.actionId = actionId; } public long getAccountId() { return this.accountId; } public void setAccountId(long accountId) { this.accountId = accountId; } public Date getActionDate() { return this.actionDate; } public void setActionDate(Date actionDate) { this.actionDate = actionDate; } public String getActionType() { return this.actionType; } public void setActionType(String actionType) { this.actionType = actionType; } public String getRemarks() { return this.remarks; } public void setRemarks(String remarks) { this.remarks = remarks; } // bi-directional many-to-one association to AccountDTO public AccountDTO getAccount() { return this.account; } public void setAccount(AccountDTO account) { this.account = account; } @Override public String toString() { // TODO Auto-generated method stub return null; } } what is the purpose of @Override public String toString()...and what will do here ?

2168


why should i declare foreign key constraint as self relation instead of binary relation in tables ?

1559


Is windows 10 being discontinued?

447


What do you understand by overdraft?

572


how to test on design and style in software?

557


Differentiate between singleton and prototype bean?

182


What is c++ map?

555


What is roc curve?

1


What does runstats do in db2?

598


Define partial class?

503