Select into another table (Set field lenght and type)

I have the sql below. It successfully copies data from one table to another. The problem is that it will copy the exact data type and length from table A to table B. Because I will use this to move over to another database with different data lengths I get errors saying data may be truncated. I am not worried about it because sometimes the data type is only 5 characters shorter and the data is not even close to the maximum.

Is there a way I can define the data type and length of the field that should be created on the new table ?  
This is my query:

--- Export Users (contacts)---


SELECT  
            IndivID AS useridtracker ,
        '1' AS Firmid ,
        'contact' AS usertype ,
        IFirst AS FirstNm ,
        IMiddle AS MiddleNm ,
        ILast AS LastNM ,
        '1' AS contactstatus ,
        '1' AS FirmaddressIdcon ,
        '0' AS ordernum ,
        ITitle AS Position ,
        EmpID AS EmployerID ,
        OfficeAddress AS MailStr ,
        OfficeApt AS MailApt ,
        OfficeCity AS MailCity ,
        OfficeState AS MailState ,
        OfficeZip MailZip ,
        OfficeCountry MailCntry ,
        HomeAttn AS ResCareOf ,
        HomeAddress AS ResStr ,
        HomeApt AS ResApt ,
        HomeCity AS ResCity ,
        HomeState AS ResState ,
        HomeZip AS ResZip ,
        HomeCountry AS ResCntry ,
        ForeignAddress AS AbrdStr ,
        ForeignApt AS AbrdApt ,
        ForeignCity AS AbrdCity ,
        ForeignState AS AbrdState ,
        ForeignZip AS AbrdZip ,
        ForeignCountry AS AbrdCntry ,
        HomePhone AS EvePhone ,
        OfficePhone AS DayPhone ,
        OfficeFax AS Fax ,
        OfficeEMail AS email ,
        CellPhone AS celphone ,
        Nationality AS Nationality ,
        dob AS Dob ,
        dob AS DobD ,
        MainStaffContact AS ParalegalID ,
        Atty AS Attyid ,
        Active AS Archivedcont ,
        INotes AS Notes ,
        PublicNotes AS Notes2 ,
        BirthCountry AS POBCountry ,
        CurrentStatus AS NiStatus ,
        StatusExpires AS ExpiresOn ,
        StatusExpires AS ExpiresOnD ,
        I797Expires AS I797Date ,
        I797Expires AS I797DateD ,
        VisaExpires AS VisaExp ,
        VisaExpires AS VisaExpD ,
        VisaMax AS NIVMaxStatus ,
        EADExpires AS EadDate ,
        EADExpires AS EadDateD ,
        APExpires AS ApDate ,
        APExpires AS ApDateD ,
        EADAPExpires AS AddAPExpires ,
        PriorityDate AS AddPriorityDate ,
        PrefNbr AS Notes3 ,
        Salutation AS Title,
        '1' AS Imported
       
INTO BlueDotUsersMaincontacts
FROM dbo.Individual;



So for example on the fourth item:          IFirst AS FirstNm ,

I want to set FirstNm to be a varchar (30) on the target table (BlueDotUsersMaincontacts)

How can I do this ?
LVL 1
AleksAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Éric MoreauSenior .Net ConsultantCommented:
use Cast:

CAST( IFirst AS VARCHAR(30)) AS FirstNm ,

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AleksAuthor Commented:
Great !  Thank you !
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Query Syntax

From novice to tech pro — start learning today.