Click here to Skip to main content
15,890,123 members
Home / Discussions / Database
   

Database

 
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
---------

GeneralRe: Refreshing Identity Pin
Xmen Real 21-Nov-07 4:20
professional Xmen Real 21-Nov-07 4:20 
GeneralRe: Refreshing Identity [modified] Pin
Xmen Real 21-Nov-07 16:40
professional Xmen Real 21-Nov-07 16:40 
GeneralRe: Refreshing Identity Pin
DQNOK26-Nov-07 3:46
professionalDQNOK26-Nov-07 3:46 
GeneralRe: Refreshing Identity Pin
Xmen Real 26-Nov-07 4:33
professional Xmen Real 26-Nov-07 4:33 
QuestionExecute String sql Pin
SVb.net17-Nov-07 4:31
SVb.net17-Nov-07 4:31 
AnswerRe: Execute String sql Pin
andyharman17-Nov-07 10:52
professionalandyharman17-Nov-07 10:52 
AnswerRe: Execute String sql Pin
JM_G18-Nov-07 9:15
JM_G18-Nov-07 9:15 
Questionhow to fill DataAdapter when two tables are being used+ASP.Net Pin
mavii17-Nov-07 1:29
mavii17-Nov-07 1:29 
AnswerRe: how to fill DataAdapter when two tables are being used+ASP.Net Pin
pmarfleet17-Nov-07 2:50
pmarfleet17-Nov-07 2:50 
Questionfind the count(empid) from view and count(querriid) from tabel by using InnerJoins Pin
subbu.sk16-Nov-07 23:32
subbu.sk16-Nov-07 23:32 
AnswerRe: find the count(empid) from view and count(querriid) from tabel by using InnerJoins Pin
pmarfleet17-Nov-07 2:49
pmarfleet17-Nov-07 2:49 
QuestionReplication - suggesstions/links. [modified] Pin
GuyThiebaut16-Nov-07 22:21
professionalGuyThiebaut16-Nov-07 22:21 
AnswerRe: Replication - suggesstions/links. Pin
Hesham Amin18-Nov-07 11:04
Hesham Amin18-Nov-07 11:04 
GeneralRe: Replication - suggesstions/links. Pin
GuyThiebaut18-Nov-07 21:25
professionalGuyThiebaut18-Nov-07 21:25 
Questiondelete all users from database and set one user Pin
hamid_m16-Nov-07 20:43
hamid_m16-Nov-07 20:43 
AnswerRe: delete all users from database and set one user Pin
joemonvarghese18-Nov-07 18:36
joemonvarghese18-Nov-07 18:36 
GeneralRe: delete all users from database and set one user Pin
hamid_m18-Nov-07 20:33
hamid_m18-Nov-07 20:33 

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.