Re: Separation of DDL and DML - was: Early and late binding.




"Jonathan Leffler" <jleffler@xxxxxxxxxxxxx> wrote in message
news:510Bf.2155$Dk.888@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> x wrote:
> > With a SQL DBMSs one is forced to separate DDL from DML which may or may
not
> > be a good thing.
>
> OK - I'm going to bite. In what respects does SQL enforce DDL separate
> from DML? And if you didn't do it the SQL way, how would you do it?
>
> I suspect I know parts of the answer to the first question - but I do
> not understand why you think it a bad thing. I have no ideas about the
> second question yet.

1) I said an SQL DBMS force one, not SQL enforce.
There are two kinds of data: the data and the metadata.
There are two distinct languages: the DDL and the DML.
With some SQL DBMS each DDL statement will generate an autocommit.
There is also the three level architecture and the impact of DDL statements
on the computing resources.



.



Relevant Pages

  • Re: limits of SQL Server???
    ... choosing "Generate SQL Script" (depending on where you are you may first ... actual value to see how well the query performs just by itself. ... to see the DDL including the indexes for these tables and a count of how ... >> selecting 400 rows is nothing for sql server. ...
    (microsoft.public.sqlserver.setup)
  • Re: Inserting multiple records into two tables...with a twist
    ... Mind showing us their DDL? ... violation of basic RDBMS design -- redundancy is to be avoided via ... writing SQL at all. ... newsgroups are places to get kludges and not an ...
    (comp.databases.ms-sqlserver)
  • Re: Dynamic VB Code Behind
    ... 'Dynamic Master/Detail Controls', but as I started abstracting the ... In this case when the user selects which report they want to run from a ddl ... My code will read from sql that it needs to create a ddl ... 'save' the SelectedIndexChanged event code in sql and send it to an Execute ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Early and late binding.
    ... > With a SQL DBMSs one is forced to separate DDL from DML which may or may ... To relate your last point back to binding, ... where the model is static between DDL transactions. ... not coded as DML, but as something else. ...
    (comp.databases.theory)
  • Re: Exporting jet table metadata as text?
    ... Access table properties are going to be completely unknown to DDL, ... Public Function GetTableDdlAs String ... Dim myfld As Field, sql As String ...
    (comp.databases.ms-access)