Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2794

Re: How can we modify DB table dynamically

$
0
0

If you want to delete every records of those tables, don't delete each record with the dynamic option for DELETE statement, same dbtab syntax, but use following FM in sequence (performance)

  • DB_STORAGE_SAVE " save current attributes of database table
  • DD_DROP_TABLE " delete database table
  • DD_GET_NAMETAB " read nametab
  • DD_CREATE_TABLE " recreate database table

 

For other requirements:

  • OPEN-SQL requirements, press F1 on open-sql statement look for dynamic options like dbtab syntax or sql cond.
  • dynamic internal tables, use scn or sap search tool, or for ddic structure look at syntax of CREATE DATA statement.

 

Regards,

Raymond


Viewing all articles
Browse latest Browse all 2794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>