Hello Jean-Marc,
The UNLOAD command is able to create your database from the desired tables.
The "FOR DATABASE" and "NOSCHEMA" keywords in the
UNLOAD syntax will allow you to unload the
specific structure and data portions needed for just those tables.
Using the RRBYW20 sample database, the below
moves the Customer and Contact tables, with
structure and data, into a new database.
OUTPUT CreateDatabase.rmd
UNLOAD STRUCTURE FOR DATABASE
UNLOAD STRUCTURE FOR Customer NOSCHEMA
UNLOAD STRUCTURE FOR Contact NOSCHEMA
UNLOAD DATA FOR Customer NOSCHEMA
UNLOAD DATA FOR Contact NOSCHEMA
OUTPUT SCREEN
Your routine must also unload/create the tables
in the order following the primary key and
foreign key relationships, with primary key tables being unload/create first.
Very Best R:egards,
Razzak
At 05:22 AM 8/3/2022, Jean-Marc Massé wrote:
Bonjour à tous,
Pourriez vous m’indiquer un moyen pour
sauvegarder seulement une sélection de tables
d’une base de données dans une nouvelle base ?
Merci de votre aide
Bien amicalement,
--
For group guidelines, visit
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rbase-l/0Ln94d-1nnHjs1Dxd-00hO7d%40mrelay.perfora.net.