How can I export some Blog posts from our Sql Server, to a file? -
we have simple website contains (take pick, example) blog posts / q & questions / whatever. people upload text (single sentences paragraphs .. including white listed/approved html).
i need export data .. file / .. can give data else.
eg. sample schema
id int title varchar(100) uniqueurl varchar(100) content varchar(max) modifiedon datetime publishedon datetime createdbyuserid integer
is there way can export data format simple give person import? have no idea import .. guessing csv or excel format might sufficient. said, 1 of fields contains varchar(max) can have paragraphs of text.
anyone have suggestions?
##update
i've tried
tasks -> export data
: give me error during final step. error message give's -nothing- happened. total fail :(run sql script -> save results -> .txt or .csv
: file created, can't read content .. since 1 of fieldsvarchar(max)
user generated content everywhere :(
maybe export xml
?
what have tried?
i'm not sure other things can try / options there are, besides two, above.
xml going simplest solution here. line breaks rip apart csv readers, , quotation marks finish off rest.
Comments
Post a Comment