Click here to Skip to main content
15,897,187 members
Home / Discussions / Database
   

Database

 
QuestionDynamic Database Creation ?? Pin
C. L. Phillip25-Jul-08 4:13
C. L. Phillip25-Jul-08 4:13 
AnswerRe: Dynamic Database Creation ?? Pin
TheFM23425-Jul-08 4:42
TheFM23425-Jul-08 4:42 
GeneralRe: Dynamic Database Creation ?? Pin
C. L. Phillip25-Jul-08 4:49
C. L. Phillip25-Jul-08 4:49 
AnswerRe: Dynamic Database Creation ?? Pin
TheFM23425-Jul-08 5:14
TheFM23425-Jul-08 5:14 
GeneralRe: Dynamic Database Creation ?? Pin
C. L. Phillip25-Jul-08 5:23
C. L. Phillip25-Jul-08 5:23 
GeneralRe: Dynamic Database Creation ?? Pin
BhadeliaImran26-Jul-08 1:53
BhadeliaImran26-Jul-08 1:53 
AnswerRe: Dynamic Database Creation ?? Pin
Wendelius25-Jul-08 9:53
mentorWendelius25-Jul-08 9:53 
AnswerRe: Dynamic Database Creation ?? Pin
Mycroft Holmes25-Jul-08 22:39
professionalMycroft Holmes25-Jul-08 22:39 
GeneralRe: Dynamic Database Creation ?? Pin
C. L. Phillip27-Jul-08 5:41
C. L. Phillip27-Jul-08 5:41 
QuestionSqlserver datatabase deployment along with setup file Pin
vishnukamath25-Jul-08 1:45
vishnukamath25-Jul-08 1:45 
AnswerRe: Sqlserver datatabase deployment along with setup file Pin
C. L. Phillip25-Jul-08 4:09
C. L. Phillip25-Jul-08 4:09 
QuestionCreating SQL view Pin
Ranojay25-Jul-08 1:02
Ranojay25-Jul-08 1:02 
AnswerRe: Creating SQL view Pin
ChandraRam25-Jul-08 2:08
ChandraRam25-Jul-08 2:08 
AnswerRe: Creating SQL view Pin
samrat.net25-Jul-08 3:15
samrat.net25-Jul-08 3:15 
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 

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.