Click here to Skip to main content
15,913,027 members
Home / Discussions / Database
   

Database

 
GeneralRe: Triggers with data converstion Pin
dandamudi padma18-Nov-07 19:18
dandamudi padma18-Nov-07 19:18 
GeneralRe: Triggers with data converstion Pin
joemonvarghese18-Nov-07 20:10
joemonvarghese18-Nov-07 20:10 
GeneralRe: Triggers with data converstion Pin
dandamudi padma18-Nov-07 20:11
dandamudi padma18-Nov-07 20:11 
QuestionProblem searching Dataset on numeric columns Pin
kermit8818-Nov-07 13:39
kermit8818-Nov-07 13:39 
QuestionrsReportParameterProcessingError in Report Sever Pin
CandyHe18-Nov-07 12:04
CandyHe18-Nov-07 12:04 
AnswerRe: rsReportParameterProcessingError in Report Sever Pin
pmarfleet19-Nov-07 3:50
pmarfleet19-Nov-07 3:50 
QuestionSQL Random Failure...? Pin
Expert Coming18-Nov-07 10:42
Expert Coming18-Nov-07 10:42 
AnswerRe: SQL Random Failure...? Pin
Hesham Amin18-Nov-07 11:00
Hesham Amin18-Nov-07 11:00 
GeneralRe: SQL Random Failure...? Pin
Expert Coming18-Nov-07 11:18
Expert Coming18-Nov-07 11:18 
GeneralRe: SQL Random Failure...? Pin
Expert Coming18-Nov-07 15:02
Expert Coming18-Nov-07 15:02 
GeneralRe: SQL Random Failure...? Pin
Hesham Amin21-Nov-07 10:46
Hesham Amin21-Nov-07 10:46 
Questionenisey data scripter Pin
JM_G18-Nov-07 9:18
JM_G18-Nov-07 9:18 
GeneralRe: enisey data scripter Pin
maciekplewa26-Feb-08 4:23
maciekplewa26-Feb-08 4:23 
GeneralRe: enisey data scripter Pin
obs12322-Sep-10 21:25
professionalobs12322-Sep-10 21:25 
Questioninsert farsi into tables Pin
Shaahinm17-Nov-07 21:53
Shaahinm17-Nov-07 21:53 
AnswerRe: insert farsi into tables Pin
joemonvarghese18-Nov-07 18:44
joemonvarghese18-Nov-07 18:44 
GeneralRe: insert farsi into tables Pin
Shaahinm20-Nov-07 23:25
Shaahinm20-Nov-07 23:25 
AnswerRe: insert farsi into tables Pin
Mark Churchill19-Nov-07 14:37
Mark Churchill19-Nov-07 14:37 
QuestionRefreshing Identity Pin
Xmen Real 17-Nov-07 20:09
professional Xmen Real 17-Nov-07 20:09 
AnswerRe: Refreshing Identity Pin
Colin Angus Mackay18-Nov-07 2:53
Colin Angus Mackay18-Nov-07 2:53 
AnswerRe: Refreshing Identity Pin
DQNOK19-Nov-07 12:29
professionalDQNOK19-Nov-07 12:29 
GeneralRe: Refreshing Identity Pin
Xmen Real 19-Nov-07 14:30
professional Xmen Real 19-Nov-07 14:30 
GeneralRe: Refreshing Identity Pin
DQNOK20-Nov-07 3:51
professionalDQNOK20-Nov-07 3:51 
GeneralRe: Refreshing Identity Pin
Xmen Real 20-Nov-07 14:33
professional Xmen Real 20-Nov-07 14:33 
GeneralRe: Refreshing Identity Pin
DQNOK21-Nov-07 3:49
professionalDQNOK21-Nov-07 3:49 
SQL databases don't have any concept of "intrinsic ordering". To the DBM, the example records you listed are just data -- they are not "record[0], record[1], record[2]". The DBM has no concept that "5,.....,........." is before "8,.....,........." is before "10,.....,........" etc.

You can specify the order in which records are PRESENTED TO YOU in response to your query by appending an "ORDER BY" clause. Further, some DBMs (or maybe all of them) can have a "clustered index" on a table. This index relates to the natural storage order of records within the database, but is more of an internal book-keeping thing than an exposed property for you to attempt to use. ANY field (even if it is not indexed) can have an ORDER BY clause attached to it within a query, and the order in which the records are returned will change in response to the clause.

The only reason you should be thinking about intrinsic ordering is if you are really concerned about performance, and are attempting to manually manipulate the clustered index (usually by properly selecting the primary key). Even then, you need to clearly understand the distinction between a database index, and intrinsic order. SQL databases store and use indices: NOT intrinsic order.

Again, good luck.

David
---------
Empirical studies indicate that 20% of the people drink 80% of the beer. With C++ developers, the rule is that 80% of the developers understand at most 20% of the language. It is not the same 20% for different people, so don't count on them to understand each other's code.
http://yosefk.com/c++fqa/picture.html#fqa-6.6
---------

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.