SQL Server Interview Questions
Questions Answers Views Company eMail

1.what are diff types of joins , and explain diff between cross join and full outer join 2.diff types of views 3. Diff types of index 4. What is diff b/w stores procedure and function procedure 5.diff between double and int in SQL 6.diff between char and varchar in SQL. 7.Oracle or SQL whice you will preferred and why.

Aptroid,

362

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

TCS,

392

in a table is b in column k (manikanta,sivananda,muralidhar) i want result like (mnikanta,sivnanda,murlidhar) please slove it

312




how can you select rexcord(rows) from table A which is not present in Table B . Id being the FK in Table B referencing to ID Table A

United Healthcare,

358

What is Lock table in SQL?

Wipro,

265

Can we call a function that has out parameter in select statement

Nagarro,

86

Call by value and call by reference in procedure and function, with NOCOPY.

Nagarro,

150

If we delete pack Spec what will be the status of pack Body ?

Nagarro,

176




Delete duplicate rows without using rowid.

Nagarro,

190

how to find 6th highest salary

Chetak Logistics,

156


Post New SQL Server Questions






Un-Answered Questions { SQL Server }

how to take backup bcp out for a column in table in sql server?

854


I have a table Events Events containing cardno,time,id,name--each id has a cardno my requirement is every day each employee swipe the card several times i want to calculate first and last time of each card the output should be name 1 2 6 7 in out in out holiday holiday xxx 09:30 06:30 09:40 06:45 where 1,2...... are dates for example january 1,2, etc. 6 and 7 are saturday and sunday how it is posssible

1102


1 01 101 01010

739


How we create SQL Server 2005 Reporting Services ? Give me Sample

919


How do you Implement SSIS Packages in your Project?

833






How much memory that we are using in Logshipping Concept?

704


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?

1236


How to trouble shoot if unable to connect SQL Server

766


Why we need to use secondry database file? though, we can do same work using primary database file also.

4213


How do use Having,Group by,Group function in SQL?

671


If we delete pack Spec what will be the status of pack Body ?

176


your distribution database is full what will u do

956


Does any body please help me what question's have asked for SSRS in the interview?

857


explain the difference between oracle- sql and sql server sql ? if both are same y we r using 2 sw.s?

1251


hi, how to link a text file and a .rpt file in my tables of sql server and to retrieve those records for further use. reply me as soon as possible.

771