Click here to Skip to main content
16,005,734 members
Home / Discussions / Database
   

Database

 
AnswerRe: Problem Regarding Cursor Pin
Mycroft Holmes12-Dec-08 22:28
professionalMycroft Holmes12-Dec-08 22:28 
QuestionCan i insert bulk data to remote sqlserver Pin
snehasish11-Dec-08 6:04
snehasish11-Dec-08 6:04 
AnswerRe: Can i insert bulk data to remote sqlserver Pin
Wendelius11-Dec-08 6:16
mentorWendelius11-Dec-08 6:16 
GeneralRe: Can i insert bulk data to remote sqlserver Pin
snehasish11-Dec-08 6:42
snehasish11-Dec-08 6:42 
GeneralRe: Can i insert bulk data to remote sqlserver Pin
Wendelius11-Dec-08 7:14
mentorWendelius11-Dec-08 7:14 
GeneralRe: Can i insert bulk data to remote sqlserver Pin
snehasish11-Dec-08 8:10
snehasish11-Dec-08 8:10 
GeneralRe: Can i insert bulk data to remote sqlserver Pin
Wendelius11-Dec-08 8:41
mentorWendelius11-Dec-08 8:41 
GeneralRe: Can i insert bulk data to remote sqlserver Pin
snehasish11-Dec-08 20:37
snehasish11-Dec-08 20:37 
hi,
Many thanks for giving possible soln. i have tried this one:

........
ds.readxml("http://www.myweb.com/xyz.xml")
 Dim xmldoc As New XmlDataDocument(ds)
        Dim xd As String = xmldoc.OuterXml()          
        Dim con As New SqlConnection(constr)
        Dim sqlstr As String = "insert into xmlproperty values( convert (xml," & xd & " ))"
        Dim com As New SqlCommand(sqlstr, con)
        con.Open()
        Dim i As Integer = com.ExecuteNonQuery()
        con.Close()
.........


first i fill dataset by readxml() method.Then i take xml in variable xd.then i am trying to insert this xml to xmlproperty table.But i get an error:
Incorrect syntax near '<'. The label 'http' has already been declared. Label names must be unique within a query batch or stored procedure. asp.net 

how to fix this error.
Thanks.
GeneralRe: Can i insert bulk data to remote sqlserver Pin
snehasish12-Dec-08 1:50
snehasish12-Dec-08 1:50 
GeneralRe: Can i insert bulk data to remote sqlserver Pin
Wendelius12-Dec-08 3:15
mentorWendelius12-Dec-08 3:15 
GeneralRe: Can i insert bulk data to remote sqlserver Pin
snehasish15-Dec-08 10:42
snehasish15-Dec-08 10:42 
GeneralRe: Can i insert bulk data to remote sqlserver Pin
Wendelius16-Dec-08 6:11
mentorWendelius16-Dec-08 6:11 
QuestionStruggling with using xp_cmdshell in stored procedure Pin
dan!sh 11-Dec-08 4:45
professional dan!sh 11-Dec-08 4:45 
AnswerRe: Struggling with using xp_cmdshell in stored procedure Pin
Parwej Ahamad11-Dec-08 5:14
professionalParwej Ahamad11-Dec-08 5:14 
GeneralRe: Struggling with using xp_cmdshell in stored procedure Pin
dan!sh 11-Dec-08 5:16
professional dan!sh 11-Dec-08 5:16 
GeneralRe: Struggling with using xp_cmdshell in stored procedure Pin
Parwej Ahamad11-Dec-08 5:24
professionalParwej Ahamad11-Dec-08 5:24 
GeneralRe: Struggling with using xp_cmdshell in stored procedure Pin
Parwej Ahamad11-Dec-08 5:38
professionalParwej Ahamad11-Dec-08 5:38 
AnswerRe: Struggling with using xp_cmdshell in stored procedure Pin
Wendelius11-Dec-08 5:25
mentorWendelius11-Dec-08 5:25 
GeneralRe: Struggling with using xp_cmdshell in stored procedure Pin
dan!sh 11-Dec-08 5:27
professional dan!sh 11-Dec-08 5:27 
GeneralRe: Struggling with using xp_cmdshell in stored procedure Pin
Wendelius11-Dec-08 5:29
mentorWendelius11-Dec-08 5:29 
GeneralRe: Struggling with using xp_cmdshell in stored procedure Pin
dan!sh 11-Dec-08 5:41
professional dan!sh 11-Dec-08 5:41 
GeneralRe: Struggling with using xp_cmdshell in stored procedure Pin
Parwej Ahamad11-Dec-08 5:43
professionalParwej Ahamad11-Dec-08 5:43 
GeneralRe: Struggling with using xp_cmdshell in stored procedure Pin
dan!sh 11-Dec-08 5:45
professional dan!sh 11-Dec-08 5:45 
GeneralRe: Struggling with using xp_cmdshell in stored procedure Pin
Wendelius11-Dec-08 5:45
mentorWendelius11-Dec-08 5:45 
GeneralRe: Struggling with using xp_cmdshell in stored procedure Pin
dan!sh 11-Dec-08 5:47
professional dan!sh 11-Dec-08 5:47 

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.