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

Database

 
GeneralRe: Database redesign Pin
Anonymous18-Jul-05 6:20
Anonymous18-Jul-05 6:20 
GeneralImport data to SQL server Pin
cberam14-Jul-05 1:06
cberam14-Jul-05 1:06 
GeneralRe: Import data to SQL server Pin
phokojoe14-Jul-05 2:35
phokojoe14-Jul-05 2:35 
GeneralRe: Import data to SQL server Pin
Vasudevan Deepak Kumar15-Jul-05 3:03
Vasudevan Deepak Kumar15-Jul-05 3:03 
GeneralChange SQL Server startup account to SA Pin
Toms Edison14-Jul-05 0:40
Toms Edison14-Jul-05 0:40 
GeneralRe: Change SQL Server startup account to SA Pin
Colin Angus Mackay14-Jul-05 2:35
Colin Angus Mackay14-Jul-05 2:35 
General<help me>Access Pin
vtalau13-Jul-05 23:43
vtalau13-Jul-05 23:43 
GeneralRe: <help me>Access Pin
Rob Graham16-Jul-05 8:33
Rob Graham16-Jul-05 8:33 
<br />
Select Company,... from nhanvien where company is NOT NULL<br />
 Union<br />
Select Company,... from nhanvien where company is NULL<br />
order by Company ASC<br />
<br />


This wont quite accomplish what you wan, the null values will sort to the top, not the bottom, but at least the non-null values will be sorted a-z for you.

an alternative would be to do this in two steps:
selecting all the not-null records first:
<br />
Select Company,... from nhanvien where company is NOT NULL order by company ASC<br />

and add the records to the combo box
then add the remaining values with a second query not sorted
<br />
Select Company,... from nhanvien where company is NULL <br />

and add the results to the combo (don't clear the first set of results)



Absolute faith corrupts as absolutely as absolute power
Eric Hoffer

The opposite of the religious fanatic is not the fanatical atheist but the gentle cynic who cares not whether there is a god or not.
Eric Hoffer

GeneralDatabase access error Pin
neoms2113-Jul-05 20:19
neoms2113-Jul-05 20:19 
GeneralRe: Database access error Pin
Christian Graus14-Jul-05 11:32
protectorChristian Graus14-Jul-05 11:32 
GeneralRe: Database access error Pin
neoms2114-Jul-05 17:49
neoms2114-Jul-05 17:49 
GeneralRe: Database access error Pin
Christian Graus14-Jul-05 17:53
protectorChristian Graus14-Jul-05 17:53 
GeneralRe: Database access error Pin
neoms2115-Jul-05 1:29
neoms2115-Jul-05 1:29 
Generalbulk import of data through C# Pin
PSI@work13-Jul-05 8:33
PSI@work13-Jul-05 8:33 
GeneralRe: bulk import of data through C# Pin
Christian Graus14-Jul-05 11:34
protectorChristian Graus14-Jul-05 11:34 
Generalhelp me...Access Pin
vtalau12-Jul-05 23:47
vtalau12-Jul-05 23:47 
GeneralRe: help me...Access Pin
Marc Soleda19-Jul-05 20:58
Marc Soleda19-Jul-05 20:58 
Generalcall dts package Pin
hakanaktan12-Jul-05 20:35
hakanaktan12-Jul-05 20:35 
GeneralRe: call dts package Pin
Albert Pascual13-Jul-05 5:02
sitebuilderAlbert Pascual13-Jul-05 5:02 
GeneralThanx Pin
hakanaktan14-Jul-05 21:13
hakanaktan14-Jul-05 21:13 
Generaljoin tables form two odbc datasources Pin
xrado12-Jul-05 19:27
xrado12-Jul-05 19:27 
GeneralRe: join tables form two odbc datasources Pin
ToddHileHoffer13-Jul-05 10:36
ToddHileHoffer13-Jul-05 10:36 
GeneralGetRows Pin
DaveHuber12-Jul-05 9:59
DaveHuber12-Jul-05 9:59 
GeneralRe: GetRows Pin
Christian Graus12-Jul-05 13:38
protectorChristian Graus12-Jul-05 13:38 
GeneralAccess Database Problem Pin
liza ray12-Jul-05 9:20
liza ray12-Jul-05 9:20 

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.