Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
For me, and wikipedia agrees ( http://en.wikipedia.org/wiki/Data_Definition_Language), the DDL is nothing more than the script you will run to create the db structure, the stored procedures, triggers, constraints and everything that will define your DB schema.
So, yes, a DDL file is an .SQL file too, usually.
Quote:
|
Is there a way to make a SQL DDL have permission for create/edit/remove tables and that's about it?
|
Not that I know of, but you can define the permissions to the DB objects (being tables, views , functions or stored procedures) from the DDL, simply with the GRANT command.
__________________
Only a biker knows why a dog sticks his head out the window.
Last edited by tripy; 10-20-2008 at 08:23 AM..
|