Sequence
From: Mike (anonymous_at_discussions.microsoft.com)
Date: 08/17/04
- Next message: Loretta: "Null values"
- Previous message: Vishal Parkar: "Re: Help on SQL Syantax"
- Next in thread: Hugo Kornelis: "Re: Sequence"
- Reply: Hugo Kornelis: "Re: Sequence"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 17 Aug 2004 14:38:27 -0700
I need to create sequence numbers for a column in a table,
I wanted to find out how can I create it?
I have a column, depending if the file type ='A'
the fileNumber should be 'A001'
The next record could have the file type='B', in this
case the filenumber should be 'B001',
if the next file type = 'A', the filenumber should be
'A002',
if the next file type = 'A', file number should be 'A003',
if the next file type = 'B', file number should be
'B002', so on...
I want to maintain more than one sequences for a column
and each one should preceed with an ALPHA.
What's the best way to do this?
Remeber, I can't define it in EM as the sequence changes
with file type.
Thanks in advance for your help!
-Mike
- Next message: Loretta: "Null values"
- Previous message: Vishal Parkar: "Re: Help on SQL Syantax"
- Next in thread: Hugo Kornelis: "Re: Sequence"
- Reply: Hugo Kornelis: "Re: Sequence"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|