Click here to Skip to main content
15,901,666 members
Home / Discussions / Database
   

Database

 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
crunchor26-Jun-13 8:23
crunchor26-Jun-13 8:23 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
wizardzz26-Jun-13 8:26
wizardzz26-Jun-13 8:26 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
crunchor26-Jun-13 8:29
crunchor26-Jun-13 8:29 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
Ron Beyer26-Jun-13 8:25
professionalRon Beyer26-Jun-13 8:25 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
Marco Bertschi26-Jun-13 8:39
protectorMarco Bertschi26-Jun-13 8:39 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
Big Daddy Farang26-Jun-13 8:41
Big Daddy Farang26-Jun-13 8:41 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
Marco Bertschi26-Jun-13 21:10
protectorMarco Bertschi26-Jun-13 21:10 
AnswerRe: Crazy many data from database to array then a lot of calculation Pin
lewax0026-Jun-13 9:42
lewax0026-Jun-13 9:42 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
crunchor26-Jun-13 15:49
crunchor26-Jun-13 15:49 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
lewax0026-Jun-13 16:20
lewax0026-Jun-13 16:20 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
crunchor26-Jun-13 17:14
crunchor26-Jun-13 17:14 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
lewax0026-Jun-13 17:45
lewax0026-Jun-13 17:45 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
crunchor26-Jun-13 17:52
crunchor26-Jun-13 17:52 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
lewax0026-Jun-13 18:34
lewax0026-Jun-13 18:34 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
crunchor26-Jun-13 19:58
crunchor26-Jun-13 19:58 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
Tim Carmichael27-Jun-13 1:37
Tim Carmichael27-Jun-13 1:37 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
lewax0027-Jun-13 3:43
lewax0027-Jun-13 3:43 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
crunchor27-Jun-13 3:46
crunchor27-Jun-13 3:46 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
Simon_Whale27-Jun-13 5:13
Simon_Whale27-Jun-13 5:13 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
crunchor27-Jun-13 6:13
crunchor27-Jun-13 6:13 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
Simon_Whale27-Jun-13 1:51
Simon_Whale27-Jun-13 1:51 
QuestionSelect statement: ordering by column name. Pin
Septimus Hedgehog24-Jun-13 0:06
Septimus Hedgehog24-Jun-13 0:06 
To keep this simple. Let's say I have a table with three columns called mineral, vegetable, animal. Is it possible to select this table's records and list them in column order animal, mineral, vegetable? I know I can do it by specifying the column names like "select animal, mineral, vegetable from whatever" but I have some tables that have an awful lot of columns and sometimes it's easier to navigate the records if I have all the columns displayed but alphabetically using something that might be discovered from the schema where the columns are defined. Hope that makes sense.

Edit: The following statement sort of shows what I have in mind from the schema.

SELECT COLUMN_NAME
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = 'tablenamehere'
ORDER BY column_name
If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.


modified 24-Jun-13 6:23am.

AnswerRe: Select statement: ordering by column name. Pin
Eddy Vluggen24-Jun-13 0:32
professionalEddy Vluggen24-Jun-13 0:32 
GeneralRe: Select statement: ordering by column name. Pin
Septimus Hedgehog24-Jun-13 0:55
Septimus Hedgehog24-Jun-13 0:55 
AnswerRe: Select statement: ordering by column name. Pin
Mycroft Holmes24-Jun-13 1:41
professionalMycroft Holmes24-Jun-13 1:41 

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.