The multi-part identifier "BACKUPSQLSRV3.trading.dbo.account.acct" could not be bound.

  • I am trying to run this query for some time and it would not work, please help.

    select profile.acct, date_appl_sent, date_appl_recd,

    CONVERT(char(100),DecryptByKey (enemail)) as email , rtrim(firstname) as 'firstname',

    rtrim(lastname) as 'lastname', ltrim(convert(char(4),productcode)) as productcode

    From BACKUPSQLSRV3.tradecs.dbo.profile inner join BACKUPSQLSRV3.trading.dbo.account

    on profile.acct = BACKUPSQLSRV3.trading.dbo.account.acct

    Where Convert(smalldatetime,date_appl_sent) =

    DateAdd(wk, -2, datename(month,getdate()) +str(datepart(day,getdate())) +str(datepart(year,getdate())))

    and date_appl_recd = ' ' and date_reminder_sent = ' ' and date_pen_appl_signed = ' '

    Server: Msg 4104, Level 16, State 1, Line 1

    The multi-part identifier "BACKUPSQLSRV3.trading.dbo.account.acct" could not be bound.

    Thanks

  • This is a duplicate post. I already answered this in the Administering forum.

    Please do not double-post.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

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

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