Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LEFT Justify and parse
Message
General information
Forum:
Microsoft SQL Server
Category:
Import/Export
Miscellaneous
Thread ID:
00998941
Message ID:
00998998
Views:
16
Sergey;

Perfect! Thank you!

Tom


>Try
CAST(
>        SUBSTRING(
>		CAST(ISNULL(CAST([Defect Description] AS VARCHAR(50)), ' ') AS CHAR(50) )
>	,4,50)	
>AS CHAR(50) )
>
>>My last problem is to LEFT Justify (which works thanks to Sergey) and begin at position 4 of a field. I have to parse something like this:
>>
>>A. Defect
>>
>>The end result should be “Defect”.
>>
>>CAST(ISNULL(CAST([Defect Description] AS VARCHAR(50)), ' ') AS CHAR(50) )
>>
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform