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
 SQL Server 2000 Forums
 Transact-SQL (2000)
 String Function

Author  Topic 

ilimax
Posting Yak Master

164 Posts

Posted - 2004-11-03 : 08:51:03
Does anybody know what function in T-Sql can change "Mid" function from Visual basic ...

Exemple:

From string "Discount 20" I need only "20"

Thanks,

jamie
Aged Yak Warrior

542 Posts

Posted - 2004-11-03 : 08:53:01
select substring([field],8,2) as only_part_of_field
Go to Top of Page

ilimax
Posting Yak Master

164 Posts

Posted - 2004-11-03 : 08:58:23
quote:
Originally posted by jamie

select substring([field],8,2) as only_part_of_field



Thanks
Go to Top of Page
   

- Advertisement -