Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Closed Thread
Old 10-20-2008, 07:32 AM Creating DDL files
Extreme Talker

Posts: 196
Trades: 0
thanks for ready and thanks for the suggestions.

I have been using MySQL for a few years. My current project requires me to use MS SQL. I'm looking for a few pointer web links to learn about the differences in MySQL to SQL. I will also be using PHP so any PHP/SQL links are appreciated.

My client requires me to give them a DDL file for their SQL Server team to integrate. Is a DDL the same as a .sql file? How can i create a DDL?

Is there a way to make a SQL DDL have permission for create/edit/remove tables and that's about it?

thanks
empiresolutions is offline
View Public Profile
 
 
Register now for full access!
Old 10-20-2008, 08:22 AM Re: Creating DDL files
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
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..
tripy is offline
View Public Profile Visit tripy's homepage!
 
Old 10-20-2008, 08:27 AM Re: Creating DDL files
Extreme Talker

Posts: 196
Trades: 0
thanks @tripy
empiresolutions is offline
View Public Profile
 
Old 10-20-2008, 03:43 PM Re: Creating DDL files
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
Tripy is right (as usual). And the grant SQL command will allow you to set the permissions you need, at the user or role level.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Learning Newbie is offline
View Public Profile
 
Old 10-21-2008, 09:01 AM Re: Creating DDL files
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Quote:
Tripy is right (as usual).
No no, it's not usual, trust me.
What saves me here is the "foreign language" lag that allow me to think a bit more longer about what I'm going to write...
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
View Public Profile Visit tripy's homepage!
 
Closed Thread     « Reply to Creating DDL files
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.88499 seconds with 12 queries