rahulroy08
Programmer
Hi
I'm new to SQL Server and I'm trying to run the following query
and I get the following error..
Please help me.
Thanks
Rahul.
I'm new to SQL Server and I'm trying to run the following query
Code:
SELECT
NSS_REPORT.dbo.ALLOCATE."DATE_ALLOC", NSS_REPORT.dbo.ALLOCATE."SEASON_ID",
NSS_REPORT.dbo.DATECOLL."START_DATE"
FROM
NSS_REPORT.dbo.allocate oj left outer join NSS_REPORT.dbo.datecoll on
NSS_REPORT.dbo.allocate.date_alloc = NSS_REPORT.dbo.datecoll.start_date and
NSS_REPORT.dbo.datecoll.datetype = 'H'
WHERE
NSS_REPORT.dbo.allocate.date_alloc >= {D '1998-01-01'} and
NSS_REPORT.dbo.allocate.date_alloc < {D '1998-02-01'}
and I get the following error..
Code:
Msg 4104, Level 16, State 1, Line 1
The multi-part identifier "NSS_REPORT.dbo.allocate.date_alloc" could not be bound.
Msg 4104, Level 16, State 1, Line 1
The multi-part identifier "NSS_REPORT.dbo.allocate.date_alloc" could not be bound.
Msg 4104, Level 16, State 1, Line 1
The multi-part identifier "NSS_REPORT.dbo.allocate.date_alloc" could not be bound.
Msg 4104, Level 16, State 1, Line 1
The multi-part identifier "NSS_REPORT.dbo.ALLOCATE.DATE_ALLOC" could not be bound.
Msg 4104, Level 16, State 1, Line 1
The multi-part identifier "NSS_REPORT.dbo.ALLOCATE.SEASON_ID" could not be bound
Please help me.
Thanks
Rahul.