Click here to Skip to main content
15,902,635 members
Home / Discussions / Database
   

Database

 
GeneralRe: TEXT datatype Pin
quiteSmart23-Jan-07 23:30
quiteSmart23-Jan-07 23:30 
AnswerRe: TEXT datatype Pin
andyharman24-Jan-07 0:28
professionalandyharman24-Jan-07 0:28 
GeneralRe: TEXT datatype Pin
quiteSmart24-Jan-07 0:36
quiteSmart24-Jan-07 0:36 
QuestionRe: TEXT datatype Pin
andyharman24-Jan-07 2:17
professionalandyharman24-Jan-07 2:17 
AnswerRe: TEXT datatype Pin
quiteSmart24-Jan-07 2:24
quiteSmart24-Jan-07 2:24 
GeneralRe: TEXT datatype Pin
Colin Angus Mackay23-Jan-07 23:25
Colin Angus Mackay23-Jan-07 23:25 
AnswerAlso Pin
Ennis Ray Lynch, Jr.24-Jan-07 3:49
Ennis Ray Lynch, Jr.24-Jan-07 3:49 
QuestionI need the quiery for the following please help me out Pin
MD1223-Jan-07 16:27
MD1223-Jan-07 16:27 
Respected sir,

I have some of the questions related to sql queries
1.what is the sql server query for having the 3rd max salary record from the following table

EmpId Empname EmpSal
1 Joseph 1000
2 rahul 299
3 Rahim 4000
4 John 350
5 kate 2000

2.what is the sql server query for arraning the records with latest date for the following table

EmpId Empname EmpSal Date
1 Joseph 1000 21may2005
2 rahul 299 12 june2004
3 Rahim 4000 3may2006
4 John 350 5april2001
5 kate 2000 8june1998

3.how to sort the particular coloumn with out affecting to other coloums like

Empnam empSal
Joseph 1000
rahul 299
Rahim 4000
John 350
kate 2000

the above table has to be translated as given below in which only the salary is sorted in descending order with out disturbing empnames

Empname Empsal
joseph 4000
rahul 2000
rahim 1000
john 350
kate 299

4.In stored procedures how to jump to required line,
for example we have 1 stored procedure in which it contains 20 lines of code,but during accessing if we want to execute 8th line directly jumping from 2line of code.how to make it possible

please suggest me
Thanking you in anticipation

Frown | :(
AnswerRe: I need the quiery for the following please help me out Pin
Colin Angus Mackay23-Jan-07 22:29
Colin Angus Mackay23-Jan-07 22:29 
QuestionFlattening a property table Pin
mr_lasseter23-Jan-07 8:10
mr_lasseter23-Jan-07 8:10 
QuestionSQL server 2000 OR 2005 Pin
sanaziuse23-Jan-07 6:43
sanaziuse23-Jan-07 6:43 
AnswerRe: SQL server 2000 OR 2005 Pin
Aaron VanWieren23-Jan-07 7:26
Aaron VanWieren23-Jan-07 7:26 
JokeRe: SQL server 2000 OR 2005 Pin
Chris Meech23-Jan-07 7:31
Chris Meech23-Jan-07 7:31 
GeneralRe: SQL server 2000 OR 2005 Pin
Aaron VanWieren23-Jan-07 7:48
Aaron VanWieren23-Jan-07 7:48 
AnswerRe: SQL server 2000 OR 2005 Pin
andyharman23-Jan-07 22:53
professionalandyharman23-Jan-07 22:53 
QuestionHow to populate a C++ listbox with data from MS Access Pin
hzhengyang23-Jan-07 5:29
hzhengyang23-Jan-07 5:29 
QuestionRegarding Triggers Pin
Syed Muhammad Kamran23-Jan-07 3:48
Syed Muhammad Kamran23-Jan-07 3:48 
QuestionLoops in ERD Pin
mytotaleclipse23-Jan-07 3:31
mytotaleclipse23-Jan-07 3:31 
AnswerRe: Loops in ERD Pin
Colin Angus Mackay23-Jan-07 3:41
Colin Angus Mackay23-Jan-07 3:41 
AnswerRe: Loops in ERD Pin
Colin Angus Mackay23-Jan-07 3:43
Colin Angus Mackay23-Jan-07 3:43 
QuestionSearch All Columns of a Table for a Keyword Pin
Jay_se23-Jan-07 2:14
Jay_se23-Jan-07 2:14 
AnswerRe: Search All Columns of a Table for a Keyword Pin
Aaron VanWieren23-Jan-07 3:57
Aaron VanWieren23-Jan-07 3:57 
QuestionAlter table query for Sql Server Pin
Saira Tanwir22-Jan-07 23:07
Saira Tanwir22-Jan-07 23:07 
AnswerRe: Alter table query for Sql Server Pin
andyharman23-Jan-07 0:33
professionalandyharman23-Jan-07 0:33 
GeneralRe: Alter table query for Sql Server Pin
Saira Tanwir23-Jan-07 0:44
Saira Tanwir23-Jan-07 0:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.