BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
jayvisw11
Fluorite | Level 6

Hi,

 

I am trying to run a query to join two tables in a database using proc fedsql. One of the column names in table1 contains period (column name: event.eventid). While trying to run the query this I am seeing an error that event table is not found in from clause where as the table name is table1. Can anyone help me with resolving this issue? Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
jayvisw11
Fluorite | Level 6

I tried to run using the name literal too but it didn't work. Finally, typing the column name within ' ' worked for me. Thank you!

View solution in original post

3 REPLIES 3
Reeza
Super User
Try referencing it using this type of notation:

"event.eventid"n or can you run a proc contents on the file to see how SAS is displaying that name?
jayvisw11
Fluorite | Level 6

I tried to run using the name literal too but it didn't work. Finally, typing the column name within ' ' worked for me. Thank you!

jayvisw11
Fluorite | Level 6
Small correction to my above comment, typing the column name within " " worked for me. Thank you!