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)
 Simple Formatting Question

Author  Topic 

mufasa
Yak Posting Veteran

62 Posts

Posted - 2003-09-11 : 14:56:01
I have a question on formatting

I am migrating a lot of my work from Access to SQL

I need to extact only the middle of a field in a view, but Mid does not seem to work.

Can anyone tell me how you can extract only the middle of a field?

In MS Access it would be Format(Mid([field],6,30)

Thanks
Mufasa

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2003-09-11 : 14:56:46
Take a look at the SUBSTRING function in SQL Server Books Online.

Tara
Go to Top of Page
   

- Advertisement -