Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
esthera
Master Smack Fu Yak Hacker
1410 Posts |
Posted - 2008-08-19 : 06:50:31
|
I have a view and when I run the view it returns all the records.if i do select * from parlastplace (name of the view) I get the errorServer: Msg 208, Level 16, State 1, Procedure parlastplace, Line 3Invalid object name 'Placements'.Server: Msg 4413, Level 16, State 1, Line 1Could not use view or function 'parlastplace' because of binding errors.Please advise what the issue can be? |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-08-19 : 06:55:24
|
seems like you've created it on wrong db or you dont have included table Placements created already. |
 |
|
esthera
Master Smack Fu Yak Hacker
1410 Posts |
Posted - 2008-08-19 : 07:40:59
|
there is only 1 dband the placements table is there |
 |
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2008-08-19 : 07:46:27
|
table is of different owner ? KH[spoiler]Time is always against us[/spoiler] |
 |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2008-08-19 : 08:41:50
|
quote: Originally posted by esthera I have a view and when I run the view it returns all the records.if i do select * from parlastplace (name of the view) I get the errorServer: Msg 208, Level 16, State 1, Procedure parlastplace, Line 3Invalid object name 'Placements'.Server: Msg 4413, Level 16, State 1, Line 1Could not use view or function 'parlastplace' because of binding errors.Please advise what the issue can be?
See if the columns used in the view exist in the table being referencedMadhivananFailing to plan is Planning to fail |
 |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-08-19 : 09:50:46
|
can you post the view definition? |
 |
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2008-08-19 : 22:59:47
|
Looks like view's owner is not dbo. |
 |
|
|
|
|
|
|