bitte Ich habe Tabellennamen SAPPRD./CS1/TB2_SOPBV und ich kann nicht diese Abfrage tun:DB2 Query mit Slash in Tabellennamen
transfer ownership of table SAPPRD./CS1/TB2_SOPBV TO USER SAPQAS preserve privileges;
Ich erhalte Fehler:
DB21034E The command was processed as an SQL statement because it was not a valid Command Line Processor command. During SQL processing it returned: SQL0104N An unexpected token "/CS1/" was found following "hip of table SAPFIP.". Expected tokens may include: "". SQLSTATE=42601
Also habe ich versucht zu entkommen zu tun, ich Abfrage bearbeitet:
transfer ownership of table SAPPRD.\"/CS1/TB2_SOPBV" TO USER SAPQAS preserve privileges
aber es wird nicht entkommen, ich bin immer noch er immer ror:
DB21034E The command was processed as an SQL statement because it was not a valid Command Line Processor command. During SQL processing it returned: SQL0007N The statement was not processed because a character that is not supported in SQL statements was included in the SQL statement. Invalid character: "\". Text preceding the invalid character: "hip of table SAPPRD.". SQLSTATE=42601
Ist es möglich, hier zu entkommen und mit dieser Abfrage fortzufahren?
Vielen Dank!
Übrigens, sehr schlechte Benennungsstrategie für Tabellen. – AngocA
@Angoca Ja, aber es ist SAP-Namensgebung und ich muss das respektieren – Desttro