Results 1 to 3 of 3

Thread: How to put text inform of number?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    How to put text inform of number?

    I have database in Microsoft Access. I have field name "PLOT" and its is text datatype.. The current records I have in the field is a number for example 12323..12222 How I can put some text in front of this number for whole records. I have to fill the text TKSS in this field? For example

    TKSS3851
    TKSS3852
    TKSS3853
    TKSS3854
    TKSS3855
    ............
    Attached Images Attached Images  

  2. #2
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: How to put text inform of number?

    Something like

    Code:
    Select 'TKSS'+PLOT From SomeTable...

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Re: How to put text inform of number?

    Quote Originally Posted by szlamany
    Something like

    Code:
    Select 'TKSS'+PLOT From SomeTable...

    Where I have to write this SQL command in Microsoft Access ?My Table name is Pemilik

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width