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

Hello, 

I am using SAS DI 4.9.

If I register a table from mysql library everything is OK.

But if i try to udate the metadata for already registered table i have an error.

Any solution?

 

 

8 The SAS System 10:13 Monday, February 29, 2016

68


69 proc metalib;
70 omr (libid='B50000S0' repid='A54TRPEC');
71 update_rule = (noadd);
72 report(type = summary);
73 dbauth(dbuser='sas_system' dbpassword=XXXXXXXXXX);
74 select (A54TRPEC.BJ001071);
75 run;

ERROR: Prepare error: Table 'eol.OFFICES' doesn't exist SQL statement: SHOW index FROM `OFFICES`.
NOTE: A total of 1 tables were analyzed for library "A.01. EOL".
NOTE: Metadata for 0 tables was updated.
NOTE: Metadata for 0 tables matched the data sources.
NOTE: 0 tables listed in the SELECT or EXCLUDE statement were not found in either the metadata or the data source.
NOTE: 1 other tables were not processed due to error or UPDATE_RULE.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: The PROCEDURE METALIB printed page 6.
NOTE: PROCEDURE METALIB used (Total process time):
real time 0.15 seconds
cpu time 0.06 seconds

1 ACCEPTED SOLUTION

Accepted Solutions
svenikol
Fluorite | Level 6

I've found the problem. The physical table name was not with capital letters. Thank you for the answer anyway.

View solution in original post

5 REPLIES 5
JuanS_OCS
Amethyst | Level 16

Hi,

 

probably it is an stupid question:

 

does this table (and his index) exist, still, in the MySQL databse/schema?

svenikol
Fluorite | Level 6

I think so, cause I am able to register it , but i am not able to update it. In fact I cannot update any of my tables.

JuanS_OCS
Amethyst | Level 16

And can you register new tables?

svenikol
Fluorite | Level 6

I've found the problem. The physical table name was not with capital letters. Thank you for the answer anyway.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 2351 views
  • 0 likes
  • 2 in conversation