Field Size on Query

  • How do I add a filed size to the field named [WILD CARD].

    It set the value in the quesy to 8000 .

    Thanks.Rocko

    SELECT Distinct

    TOP 100 PERCENT [Vin 8], REPLACE(LEFT([Vin 8], 8), ' ', '_') AS [Wild Card]

  • This was removed by the editor as SPAM

  • Do you mean this

    SELECT Distinct 
    
    TOP 100 PERCENT [vinnumber], CAST(REPLACE(LEFT([vinnumber], 8), ' ', '_') AS CHAR(8)) AS [Wild Card]

    Edited by - davidburrows on 07/04/2003 07:17:36 AM

    Far away is close at hand in the images of elsewhere.
    Anon.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply