Mithilesh_SQL

Mithilesh_SQL To enhance Programming skills in iOS,Swift, .net ,sql and crystal report.............

To Find the nth Highest Salary via common table,DENSE_RANK,Co-related queries...Co-related queries...select * from empma...
12/12/2014

To Find the nth Highest Salary via common table,DENSE_RANK,Co-related queries...

Co-related queries...
select * from empmast e1
where 3=(select count(*) from empMast e2 where e2.salary>=e1.salary)

Link for all dot net and sql server video tutorial playlists http://www.youtube.com/user/kudvenkat/playlists Link for slides, code samples and text version o...

10/12/2014

Visit us for more videos at http://www.questpond.com Many times during SQL server interviews , many of them ask this tricky question "Find the second highest...

10/12/2014

Visit us ://www.questpond.com for more SQL Server interview questions and answers videos, In this video we will try to answer a very tricky SQL Server i...

25/07/2014

Drop Existing Constraint in sql
ALTER TABLE [TABLE_NAME] DROP CONSTRAINT [CostraintName]
ex-
ALTER TABLE itemmast DROP CONSTRAINT fkactvd

24/07/2014

Renaming existing column in sql

sp_rename '[tablename.oldcolumnname]','[newColumnName]','COLUMN'

Example :-
sp_rename 'employee.empid','emplooyeeID','COLUMN'

24/07/2014

Creating Primary key constraint on existing column...

ALTER TABLE Employee ADD CONSTRAINT pkEmpID PRIMARY KEY (EmpId)

24/07/2014

Primary Key Constraint.............
CREATE TABLE Employee(EmpId INT NOT NULL CONSTRAINT pkEmpId Primary key)

Address

Delhi
110003

Telephone

8010653059

Website

Alerts

Be the first to know and let us send you an email when Mithilesh_SQL posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The Business

Send a message to Mithilesh_SQL:

Share