dbTalk Databases Forums  

Re: PADDING WITH SPACES

microsoft.public.sqlserver.mseq microsoft.public.sqlserver.mseq


Discuss Re: PADDING WITH SPACES in the microsoft.public.sqlserver.mseq forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Anith Sen
 
Posts: n/a

Default Re: PADDING WITH SPACES - 07-01-2003 , 07:43 AM






You can do:

SELECT LEFT(StockCode + SPACE(36), 36) + REPLICATE...
FROM BomOperations
...

--
- Anith
( Please reply to newsgroups only )



Reply With Quote
  #2  
Old   
Newbie
 
Posts: n/a

Default Re: PADDING WITH SPACES - 07-01-2003 , 08:13 AM






Thanks - works a treat
"Anith Sen" <anith (AT) bizdatasolutions (DOT) com> wrote

Quote:
You can do:

SELECT LEFT(StockCode + SPACE(36), 36) + REPLICATE...
FROM BomOperations
...

--
- Anith
( Please reply to newsgroups only )





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.