SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


converthtml


converthtml

Author
Message
joy-550396
joy-550396
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 Visits: 77
Comments posted to this topic are about the item converthtml
Tim Wilson-Brown
Tim Wilson-Brown
SSC Veteran
SSC Veteran (275 reputation)SSC Veteran (275 reputation)SSC Veteran (275 reputation)SSC Veteran (275 reputation)SSC Veteran (275 reputation)SSC Veteran (275 reputation)SSC Veteran (275 reputation)SSC Veteran (275 reputation)

Group: General Forum Members
Points: 275 Visits: 302
When you posted your article to the site, all your HTML escape codes were converted to their actual equivalents - so I see:

insert @htmltable values('&', '&')

instead of:

insert @htmltable values('&', '&')

(to generate the & above, I actually needed to type & in my reply)


Could you please repost this article with your SQL code attached as a file?

Also, given that it's an issue with the site, do you know who to talk to to get it fixed?
Tim Wilson-Brown
Tim Wilson-Brown
SSC Veteran
SSC Veteran (275 reputation)SSC Veteran (275 reputation)SSC Veteran (275 reputation)SSC Veteran (275 reputation)SSC Veteran (275 reputation)SSC Veteran (275 reputation)SSC Veteran (275 reputation)SSC Veteran (275 reputation)

Group: General Forum Members
Points: 275 Visits: 302
Also, if the rows are returned in the order they're inserted,
your code will double-convert sequences like:

>

which should expand to:

>

but your code will convert to:

>

The & to & conversion must happen last - or you run the risk of double-conversion.

Since you can't guarantee the order the rows will be returned, this could be a tricky one :-)
joy-550396
joy-550396
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 Visits: 77
Dear Reader

Thanks for your feedback, I have sent the converthtml script as a file attachment to webmaster@sqlservercentral.com

I hope the webmaster will publish it soon.

Kind regards
Joy
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search