I need to extract the database schema to xml content.
Is there any open source tool or library which can perform schema extraction operation?
Is there any procedure available to generate the DB schema to xml content?
Example:
create table sample(id numeric(5) primary key)
<Tables>
<Table Name="sample" Type="Table">
<Column Name="id" DataType="numeric" IsNullable="NO" IsIdentity="0" Constraint="PRIMARY KEY" />
</Table>
</Tables>
With below query mentioned in the answer same thing I need to implement for index, procedures....