Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 wild card pblm

Author  Topic 

sreeram84n
Starting Member

4 Posts

Posted - 2012-04-03 : 04:06:09
i am using wild card operator and the desired o/p is the data should display which is below 999 value

present data is

SRINU 0.00
hari 10000.00
chowdary 10000.00
joseph 15000.00
kiran 441.00
sreeram 441.00

i used this query

select name,credit from Cash where Credit like '[0-9][0-9][0-9]'

here no data is displaying now
whats the pblm

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2012-04-03 : 04:36:48
where Credit like '[0-9][0-9][0-9].%'



No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2012-04-03 : 04:38:53
or if the datatype is decimal or so

where Credit between 100.00 and 999.99


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
   

- Advertisement -