Click here to Skip to main content
15,887,416 members
Home / Discussions / Database
   

Database

 
GeneralMSSQL stopped mysteriously Pin
Brady Kelly24-Jul-08 23:40
Brady Kelly24-Jul-08 23:40 
GeneralRe: MSSQL stopped mysteriously Pin
DerekFL25-Jul-08 8:22
DerekFL25-Jul-08 8:22 
GeneralRe: MSSQL stopped mysteriously Pin
Brady Kelly25-Jul-08 23:00
Brady Kelly25-Jul-08 23:00 
JokeRe: MSSQL stopped mysteriously Pin
Mycroft Holmes25-Jul-08 23:10
professionalMycroft Holmes25-Jul-08 23:10 
Questionhow to get record by positioning Pin
samrat.net24-Jul-08 19:49
samrat.net24-Jul-08 19:49 
AnswerRe: how to get record by positioning Pin
GuyThiebaut24-Jul-08 22:19
professionalGuyThiebaut24-Jul-08 22:19 
GeneralRe: how to get record by positioning Pin
GuyThiebaut26-Jul-08 23:42
professionalGuyThiebaut26-Jul-08 23:42 
AnswerRe: how to get record by positioning Pin
TheFM23425-Jul-08 2:19
TheFM23425-Jul-08 2:19 
Create Table #r
(
id --Identity column. Use your SQL databas's syntax here.
--For example, SQL Server is Identity(1,1).
...--Columns in the table
)

Insert #r(...--Columns in table)
Select *
From YourTable
Order By YourColumn

Select *
From #r
Where id in (2,3)


What that does is creates a new table with the same build of YourTable with an added identity column. It inserts the records and orders it, an important step is to order it or you'll may get different rows each time you run. Change the 2,3 in the in statement to get any row number you want.
AnswerRe: how to get record by positioning - SQL 2005 Pin
leoinfo25-Jul-08 2:31
leoinfo25-Jul-08 2:31 
AnswerRe: how to get record by positioning - SQL 2000 Pin
leoinfo25-Jul-08 2:41
leoinfo25-Jul-08 2:41 
AnswerWhy not use an array ? Pin
David Mujica25-Jul-08 3:18
David Mujica25-Jul-08 3:18 
GeneralRe: Why not use an array ? Pin
leoinfo25-Jul-08 3:28
leoinfo25-Jul-08 3:28 
AnswerRe: how to get record by positioning Pin
Blue_Boy25-Jul-08 6:17
Blue_Boy25-Jul-08 6:17 
AnswerRe: how to get record by positioning Pin
Ashfield25-Jul-08 9:19
Ashfield25-Jul-08 9:19 
GeneralRe: how to get record by positioning Pin
Mycroft Holmes25-Jul-08 22:43
professionalMycroft Holmes25-Jul-08 22:43 
Questionconnection string Pin
Zafar Sultan24-Jul-08 19:47
Zafar Sultan24-Jul-08 19:47 
AnswerRe: connection string Pin
Abdul Sami X24-Jul-08 20:30
Abdul Sami X24-Jul-08 20:30 
AnswerRe: connection string Pin
Mycroft Holmes25-Jul-08 23:15
professionalMycroft Holmes25-Jul-08 23:15 
QuestionHow to install dao db app? Pin
includeh1024-Jul-08 15:17
includeh1024-Jul-08 15:17 
AnswerRe: How to install dao db app? Pin
Wendelius24-Jul-08 18:35
mentorWendelius24-Jul-08 18:35 
AnswerRe: How to install dao db app? Pin
Mycroft Holmes25-Jul-08 23:19
professionalMycroft Holmes25-Jul-08 23:19 
QuestionSimple Database Connectivity!!!! Pin
vamseeraja24-Jul-08 5:40
vamseeraja24-Jul-08 5:40 
AnswerRe: Simple Database Connectivity!!!! Pin
Vimalsoft(Pty) Ltd24-Jul-08 8:14
professionalVimalsoft(Pty) Ltd24-Jul-08 8:14 
GeneralRe: Simple Database Connectivity!!!! Pin
vamseeraja25-Jul-08 4:22
vamseeraja25-Jul-08 4:22 
GeneralRe: Simple Database Connectivity!!!! Pin
Vimalsoft(Pty) Ltd25-Jul-08 6:04
professionalVimalsoft(Pty) Ltd25-Jul-08 6:04 

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.