Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Help : How to manage stars in database ?

 
   Database Forums (Home) -> Object-Oriented RSS
Next:  SQL 2005 index status - unable to populate  
Author Message
MaisonBorniol

External


Since: Nov 03, 2005
Posts: 2



(Msg. 1) Posted: Thu Nov 03, 2005 3:35 am
Post subject: Help : How to manage stars in database ?
Archived from groups: comp>databases>object (more info?)

All,

Any help would be gratefully appreciated.

I have this trouble :

In database in one column I have record like that :
000000001
0*6666**66
005555555

Stars could be anything between '0' and '9'

So, if I look for this id : 0166662066, it would be found in database
and retrieved.

Any idea, this stuff is driving me nuts.....


Thank a lot !

 >> Stay informed about: Help : How to manage stars in database ? 
Back to top
Login to vote
Hieu Hoang

External


Since: Nov 14, 2005
Posts: 2



(Msg. 2) Posted: Mon Nov 14, 2005 1:55 pm
Post subject: Re: Help : How to manage stars in database ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

MaisonBorniol wrote:
> All,
>
> Any help would be gratefully appreciated.
>
> I have this trouble :
>
> In database in one column I have record like that :
> 000000001
> 0*6666**66
> 005555555
>
> Stars could be anything between '0' and '9'
>
> So, if I look for this id : 0166662066, it would be found in database
> and retrieved.
>
> Any idea, this stuff is driving me nuts.....
>
>
> Thank a lot !
>

in ms sql server, use the LIKE statement. can't remember syntax, but
similar to:

....
WHERE column1 LIKE '0[0-9]6666[0-9][0-9]66'
OR column1 = '005555555'

look it up in help & let me know

 >> Stay informed about: Help : How to manage stars in database ? 
Back to top
Login to vote
MaisonBorniol

External


Since: Nov 03, 2005
Posts: 2



(Msg. 3) Posted: Thu Nov 24, 2005 1:20 am
Post subject: Re: Help : How to manage stars in database ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks a lot.

It works fine under MSSQL. But what about Oracle ?

Is there a SQL proof syntaxe for this kind of stuff ?


Hieu Hoang a écrit :

> MaisonBorniol wrote:
> > All,
> >
> > Any help would be gratefully appreciated.
> >
> > I have this trouble :
> >
> > In database in one column I have record like that :
> > 000000001
> > 0*6666**66
> > 005555555
> >
> > Stars could be anything between '0' and '9'
> >
> > So, if I look for this id : 0166662066, it would be found in database
> > and retrieved.
> >
> > Any idea, this stuff is driving me nuts.....
> >
> >
> > Thank a lot !
> >
>
> in ms sql server, use the LIKE statement. can't remember syntax, but
> similar to:
>
> ...
> WHERE column1 LIKE '0[0-9]6666[0-9][0-9]66'
> OR column1 = '005555555'
>
> look it up in help & let me know
 >> Stay informed about: Help : How to manage stars in database ? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
developing a Object Oriented Database -

Export data from a fastobject-database - Hello! I have to convert a fastobject-database to a Microsoft VisualFoxpro- database. My first decision was to install an ODBC-driver and access the fastobjects-database via ODBC, but i did not find an appropriate driver in the internet. So i had..

How to get return type (Resultset) information from databa.. - Hai, For Example Below are two storeprocedures one returns resultset and other not, how get this information through programmatically. 1)CREATE PROCEDURE dbo.UpdateCustomers ( @CustomerID nchar(5), @CompanyName nvarchar(40), @ContactName..

Object-oriented database with Java AND C-Sharp API? - Hi Folks-- does anybody know of a (robust) OODB with both, Java and C# APIs? We've got several client applications, mostly written in Java and some also in C#, that should operate on the same database. Would be nice if the database runs on Linux, bu...

Aggregation in FastObjects. How to define that in opt file? - Hello, I have theses java classes: - Course <<key>> code : short name : string gratingCurricular : set<Period> - Period <<key>> numPeriod : short anything: set<someThing> * For eac...
   Database Forums (Home) -> Object-Oriented All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]