Using CREATE ALIAS and SELECT together

  • I'm attemping to access a specific file member with the CREATE ALIAS command and then using the alias in my SELECT statement.  The error I'm getting states that the SELECT keyword is not expected.  End of statement is expected.  Is there a delimiter I'm missing.  Please help.

  • CREATE ALIAS in SQL Server?

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

  • In Reporting Services

  • Aah, I see. I thought that it might be Analysis Services related, but then I saw you've posted it in the T-SQL section.

    Sorry, i have no experience with RS so far. But I'm sure, a lot of other members here have.

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

  • Have you accomplished this using Analysis Services?  I'm at a loss as to how to break up the CREATE ALIAS and SELECT commands.  If you have a general answer to that question, that should help!  Thanks.

  • No, I just thought that it might be AS related, because I am not aware of CREATE ALIAS in T-SQL.

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

Viewing 6 posts - 1 through 6 (of 6 total)

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