Click here to Skip to main content
16,009,238 members
Home / Discussions / Database
   

Database

 
AnswerRe: Transpose rows as columns Pin
A Wong23-Jun-08 4:26
A Wong23-Jun-08 4:26 
QuestionIssue while updating the DateTime field thru VB.NET Pin
hariram2820-Jun-08 8:49
hariram2820-Jun-08 8:49 
AnswerRe: Issue while updating the DateTime field thru VB.NET Pin
Ashfield20-Jun-08 8:56
Ashfield20-Jun-08 8:56 
GeneralRe: Issue while updating the DateTime field thru VB.NET Pin
hariram2820-Jun-08 9:12
hariram2820-Jun-08 9:12 
GeneralRe: Issue while updating the DateTime field thru VB.NET Pin
Ashfield20-Jun-08 11:28
Ashfield20-Jun-08 11:28 
GeneralRe: Issue while updating the DateTime field thru VB.NET Pin
hariram2820-Jun-08 12:37
hariram2820-Jun-08 12:37 
GeneralRe: Issue while updating the DateTime field thru VB.NET Pin
Ashfield21-Jun-08 7:28
Ashfield21-Jun-08 7:28 
QuestionGenerating XML Schema of SQL Server 2005 Database Pin
Rocky#20-Jun-08 3:13
Rocky#20-Jun-08 3:13 
hi everyone,

I've been trying to make the XML Schema of my SQL Server Database and currently I've found this to generate an XSD schema,

create table Person
(
Age int not NULL check( Age > 0) ,
Height numeric(10,2) not NULL check( Height > 5),
Gender varchar(5) not null check( Gender in (’M', ‘F’, ‘O’)),
BirthDate datetime null,
)
DECLARE @schema xml
SET @schema = (SELECT * FROM Person FOR XML AUTO, ELEMENTS, XMLSCHEMA(’PersonSchema’))
select @schema
OUTPUT:


But the problem is that this is generating the schema of only one table where as I want to generate the schema of the whole Database, Can u suggest some quick solution for that?

Thanks in advance

Rocky

Success is a ladder which you can't climb with your hands in your pockets.

QuestionMySql and DbCommand [modified] Pin
gandalf_le_blanc20-Jun-08 3:10
gandalf_le_blanc20-Jun-08 3:10 
Questionexception handling sql server 2005 Pin
Learner52020-Jun-08 2:20
Learner52020-Jun-08 2:20 
AnswerRe: exception handling sql server 2005 Pin
Hesham Amin20-Jun-08 6:01
Hesham Amin20-Jun-08 6:01 
GeneralRe: exception handling sql server 2005 Pin
Learner52020-Jun-08 6:17
Learner52020-Jun-08 6:17 
QuestionChange data arrangement Pin
SomeGuyThatIsMe20-Jun-08 1:28
SomeGuyThatIsMe20-Jun-08 1:28 
QuestionRecommendation for SQL Server book Pin
Baconbutty19-Jun-08 22:48
Baconbutty19-Jun-08 22:48 
AnswerRe: Recommendation for SQL Server book Pin
Alsvha19-Jun-08 23:50
Alsvha19-Jun-08 23:50 
QuestionAutomatic Transaction between MySQL and MSMQ Pin
jmohan19-Jun-08 22:02
jmohan19-Jun-08 22:02 
GeneralOLAP Cube for Sql server 2005 Pin
jagmit2019-Jun-08 20:45
jagmit2019-Jun-08 20:45 
QuestionNormalization Pin
Pankaj Garg19-Jun-08 19:25
Pankaj Garg19-Jun-08 19:25 
AnswerRe: Normalization Pin
Ashfield19-Jun-08 21:05
Ashfield19-Jun-08 21:05 
AnswerRe: Normalization Pin
CPallini19-Jun-08 22:03
mveCPallini19-Jun-08 22:03 
NewsRe: Normalization Pin
Pankaj Garg19-Jun-08 23:26
Pankaj Garg19-Jun-08 23:26 
GeneralRe: Normalization Pin
CPallini20-Jun-08 0:00
mveCPallini20-Jun-08 0:00 
GeneralRe: Normalization Pin
Jerry Hammond21-Jun-08 7:44
Jerry Hammond21-Jun-08 7:44 
GeneralRe: Normalization Pin
CPallini22-Jun-08 0:44
mveCPallini22-Jun-08 0:44 
QuestionProblem in Query Pin
garga119-Jun-08 19:06
garga119-Jun-08 19:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.