Click here to Skip to main content
15,892,927 members
Home / Discussions / Database
   

Database

 
GeneralRe: Import Oracle *.DMP into MS-SQL (without Oracle DB Server) Pin
Steve S28-Apr-04 1:31
Steve S28-Apr-04 1:31 
GeneralSimple Insert Statement Pin
dabuskol25-Apr-04 23:09
dabuskol25-Apr-04 23:09 
GeneralRe: Simple Insert Statement Pin
Peet Schultz26-Apr-04 3:19
Peet Schultz26-Apr-04 3:19 
GeneralRe: Simple Insert Statement Pin
Janya26-Apr-04 14:34
Janya26-Apr-04 14:34 
GeneralEncrypted Tables From ASP.NET & Access Pin
MKlucher24-Apr-04 14:42
MKlucher24-Apr-04 14:42 
GeneralData Grid / update when going to next record Pin
xstoneheartx23-Apr-04 13:24
xstoneheartx23-Apr-04 13:24 
GeneralDatagrid Multi-table update Pin
Anonymous23-Apr-04 7:03
Anonymous23-Apr-04 7:03 
GeneralMinimum of 2 values Pin
Colin Angus Mackay22-Apr-04 12:05
Colin Angus Mackay22-Apr-04 12:05 
Hello,

Is there anything in SQL Server 2000 that I can use to perform a calculation returning the minimum of 2 values. For example:
SET @value = min(@a, @b)

I realise that there is a min() aggregate function, but I don't want that as I am wanting to use this in a computed column. (I have a value calculated from other fields, but must be capped at some limit)

Any ideas?


"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar

Coming soon: The Second EuroCPian Event


GeneralRe: Minimum of 2 values Pin
Mike Ellison23-Apr-04 5:46
Mike Ellison23-Apr-04 5:46 
GeneralRe: Minimum of 2 values Pin
Colin Angus Mackay23-Apr-04 5:54
Colin Angus Mackay23-Apr-04 5:54 
GeneralRe: Minimum of 2 values Pin
Mike Ellison23-Apr-04 5:54
Mike Ellison23-Apr-04 5:54 
GeneralRe: Minimum of 2 values Pin
Peet Schultz26-Apr-04 3:41
Peet Schultz26-Apr-04 3:41 
GeneralRename a table Pin
suhredayan22-Apr-04 0:27
susssuhredayan22-Apr-04 0:27 
GeneralRe: Rename a table Pin
suhredayan22-Apr-04 0:29
susssuhredayan22-Apr-04 0:29 
GeneralRe: Rename a table Pin
Mazdak22-Apr-04 0:39
Mazdak22-Apr-04 0:39 
GeneralRe: Rename a table Pin
22491722-Apr-04 0:55
22491722-Apr-04 0:55 
GeneralRe: Rename a table Pin
Mazdak23-Apr-04 1:47
Mazdak23-Apr-04 1:47 
GeneralRe: Rename a table Pin
RichardGrimmer26-Apr-04 3:58
RichardGrimmer26-Apr-04 3:58 
GeneralOracle Dbase By c# Pin
unitecsoft21-Apr-04 22:43
unitecsoft21-Apr-04 22:43 
GeneralRe: Oracle Dbase By c# Pin
Chris Meech22-Apr-04 4:42
Chris Meech22-Apr-04 4:42 
GeneralRe: Oracle Dbase By c# Pin
unitecsoft23-Apr-04 21:29
unitecsoft23-Apr-04 21:29 
GeneralRe: Oracle Dbase By c# Pin
Chris Meech26-Apr-04 2:13
Chris Meech26-Apr-04 2:13 
GeneralRe: Oracle Dbase By c# Pin
unitecsoft28-Apr-04 8:08
unitecsoft28-Apr-04 8:08 
GeneralRe: Oracle Dbase By c# Pin
Chris Meech28-Apr-04 8:27
Chris Meech28-Apr-04 8:27 
Generaldbgdel.cpp _BLOCK_TYPE_IS_VALID Pin
dotbomb21-Apr-04 11:23
dotbomb21-Apr-04 11:23 

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.