Click here to Skip to main content
15,895,011 members
Home / Discussions / Database
   

Database

 
GeneralRe: insert string wiht ' chare Pin
DavidNohejl12-Dec-04 7:16
DavidNohejl12-Dec-04 7:16 
GeneralRe: insert string wiht ' chare Pin
Edbert P12-Dec-04 13:14
Edbert P12-Dec-04 13:14 
General.Net/COM+ Pin
Member 131282211-Dec-04 22:31
Member 131282211-Dec-04 22:31 
GeneralUpdating SQL Server 2000 with varying column names Pin
ColdWaterBlue11-Dec-04 16:03
ColdWaterBlue11-Dec-04 16:03 
GeneralRe: Updating SQL Server 2000 with varying column names Pin
Mekong River11-Dec-04 16:53
Mekong River11-Dec-04 16:53 
GeneralRe: Updating SQL Server 2000 with varying column names Pin
ColdWaterBlue11-Dec-04 21:13
ColdWaterBlue11-Dec-04 21:13 
GeneralFinding lowest integer in an Access Database Pin
pjholliday11-Dec-04 11:24
pjholliday11-Dec-04 11:24 
GeneralRe: Finding lowest integer in an Access Database Pin
Mekong River11-Dec-04 16:59
Mekong River11-Dec-04 16:59 
pjholliday wrote:
Can anyone suggest some SQL to find the lowest unused number

What do you mean by unused number? Do you mean that the number that is the lowest value in the table. If so, try the following statement:

SELECT * tblTest ORDER BY tblTest.Quantity

The above statement will sort the column Quantity from the lowest value to the highest value (suppose from 0 to 100). Then the first record of your database will be the lowest value.



A thousand mile of journey, begin with the first step.

APO-CEDC
Save Children Norway-Cambodia Office

GeneralRe: Finding lowest integer in an Access Database Pin
pjholliday12-Dec-04 2:24
pjholliday12-Dec-04 2:24 
GeneralRe: Finding lowest integer in an Access Database Pin
Edbert P12-Dec-04 13:24
Edbert P12-Dec-04 13:24 
GeneralUrgent ! Doubt in Sql Pin
goldsuji11-Dec-04 0:54
goldsuji11-Dec-04 0:54 
GeneralRe: Urgent ! Doubt in Sql Pin
venadder11-Dec-04 8:42
venadder11-Dec-04 8:42 
GeneralRe: Urgent ! Doubt in Sql Pin
goldsuji12-Dec-04 19:48
goldsuji12-Dec-04 19:48 
GeneralRe: Urgent ! Doubt in Sql Pin
Mekong River11-Dec-04 17:04
Mekong River11-Dec-04 17:04 
Generalbackup fails!!Urgent Pin
venadder10-Dec-04 13:03
venadder10-Dec-04 13:03 
GeneralRe: backup fails!!Urgent Pin
venadder11-Dec-04 7:04
venadder11-Dec-04 7:04 
GeneralUsing Instances of CRecordset Pin
Chris Meech10-Dec-04 8:20
Chris Meech10-Dec-04 8:20 
GeneralSpecified cast is not valid Pin
Anonymous10-Dec-04 7:44
Anonymous10-Dec-04 7:44 
GeneralRe: Specified cast is not valid Pin
tojamismis10-Dec-04 12:36
tojamismis10-Dec-04 12:36 
GeneralCannot connect to SQL Server using Visual Studio .NET and Query Analyzer Pin
jomargon10-Dec-04 5:25
jomargon10-Dec-04 5:25 
GeneralRe: Cannot connect to SQL Server using Visual Studio .NET and Query Analyzer Pin
Colin Angus Mackay10-Dec-04 5:44
Colin Angus Mackay10-Dec-04 5:44 
GeneralRe: Cannot connect to SQL Server using Visual Studio .NET and Query Analyzer Pin
jomargon10-Dec-04 13:56
jomargon10-Dec-04 13:56 
GeneralRe: Cannot connect to SQL Server using Visual Studio .NET and Query Analyzer Pin
jomargon10-Dec-04 5:58
jomargon10-Dec-04 5:58 
GeneralRe: Cannot connect to SQL Server using Visual Studio .NET and Query Analyzer Pin
Colin Angus Mackay10-Dec-04 6:05
Colin Angus Mackay10-Dec-04 6:05 
GeneralRe: Cannot connect to SQL Server using Visual Studio .NET and Query Analyzer Pin
jomargon10-Dec-04 14:02
jomargon10-Dec-04 14:02 

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.