Stephen Russell wrote:

> ALTER TABLE dbo.LineToSay ADD
>       charnum  AS replicate( '0', 10-len(convert( char(10),num)) )+
> ltrim(rtrim(convert(char(10),num)))
> GO
> 
> id                                                                       num  
> charnum
> 0BF0E5D0-5D4E-46F3-B63F-FAA4B58E8281          1       0000000001
> 
> Would this work?

I should have read all replies before replying, but no, in this case 
that wouldn't.  This was just a one time fill-in-the-blanks.  Thanks 
though - your earlier examples were instrumental in the solution.



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to