بتاريخ: 16 مارس 200916 سنة comment_151367 Al salamo 3alikom game3andh awel mwdo3 lya hena w ya rab ykon 7d 3ndo el 7l3ayz a3ml create le table with dynamic name y3ny Create Table Dynamic table nameas select *from dynamic_Table_nameana grbt keda Create table (Select table_Name || '1' from all_Tables where table_name = 'GL_JE_HEADERS)as select *from (Select table_Name || '1' from all_Tables where table_name = 'GL_JE_HEADERS')bs daiman bydeny Invalid option 3la fekra i am ready to help anyone lw fe 7aga 3yzha just send me here a request or email me to [email protected]thanks in advance تقديم بلاغ
بتاريخ: 16 مارس 200916 سنة comment_151417 السلام عليكم...الحل هو استخدام عبارة Execute Immediate : declare TableName varchar2(20); begin Select table_Name || '1' into TableName from all_Tables where table_name = 'GL_JE_HEADERS'; execute immediate 'create table '||TableName||' as select * from '||emp; end; / تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.