Unix Technical Forum

.dml/.ddl script files

This is a discussion on .dml/.ddl script files within the Oracle Database forums, part of the Database Server Software category; --> is that proper, to give '.dml' and '.ddl' extention to script filenames? I wish to call those scripts from ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-25-2008, 07:41 AM
fireball
 
Posts: n/a
Default .dml/.ddl script files

is that proper, to give '.dml' and '.ddl' extention to script filenames?

I wish to call those scripts from single '.sql' script, for example like
below:
@@ my_schema.ddl
@@ my_schema.sql
@@ my_schema.dml


thx4hlp


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-25-2008, 07:41 AM
klabu
 
Posts: n/a
Default Re: .dml/.ddl script files

seems quite reasonable


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-25-2008, 07:42 AM
Frank van Bortel
 
Posts: n/a
Default Re: .dml/.ddl script files

fireball schreef:
> is that proper, to give '.dml' and '.ddl' extention to script filenames?
>
> I wish to call those scripts from single '.sql' script, for example like
> below:
> @@ my_schema.ddl
> @@ my_schema.sql
> @@ my_schema.dml
>
>
> thx4hlp
>
>


It is one way, yes. I'm not to judge whether it's
proper. Declare it standard, and you're done
I would use the .sql for the "main" routine - the one
calling the other two.
--
Regards,
Frank van Bortel

Top-posting is one way to shut me up...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-25-2008, 07:42 AM
joel garry
 
Posts: n/a
Default Re: .dml/.ddl script files


fireball wrote:
> is that proper, to give '.dml' and '.ddl' extention to script filenames?
>
> I wish to call those scripts from single '.sql' script, for example like
> below:
> @@ my_schema.ddl
> @@ my_schema.sql
> @@ my_schema.dml
>
>
> thx4hlp


It depends whether you are working on a system that ascribes meaning to
the extension. And even on systems that don't, you never know when
..dml might mean something other than a SQL script...

$ find / -name "*.dml" 2>/dev/null|wc -l
7537

Especially troubling when you install something new and it conflicts
with your local standards.

jg
--
@home.com is bogus.
http://www.signonsandiego.com/news/t...ube-deals.html

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:48 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com