SELECT * INTO #t1

  • Anybody knows why this line fails?

    SELECT MAX([User].[User_ID]) INTO #t1

    Error:

    No column was specified for column 1 of '#t1'.

  • What about SELECT MAX([User].[User_ID]) as UserID INTO #t1 from [User]

  • Allen_Cui!

    You must be a T-SQL Guru!!!

    Thanks a lot!

    Works beautiful.

    Robert Opeshanksy

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

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