Click here to Skip to main content
15,897,518 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi,

I am trying to create a html file from sql server using following method--

exec master..xp_cmdshell 'echo plaintText <path>' it is working for plaint text but when i am inserting html page source it is not working.

Any help on this would be very much appreciable.

Thanks
Posted
Comments
Ariana Bond 10-Jun-13 14:00pm    
Question is down voted ,very well, but without any good reason ??
Richard C Bishop 10-Jun-13 14:36pm    
I did not down vote, but I have an idea why someone would. Go to this link and read through it and you might figure out why.

http://www.codeproject.com/Articles/64628/Code-Project-Quick-Answers-FAQ
Ariana Bond 10-Jun-13 14:46pm    
Hey, Ric thanks a lot man, this information meant a lot to me.
Thanks again.
Keep me updated with it if there are any sort of modification made over there. By the way thanks again.
You can see how many time i am thanking you.
You are really an expert.
Richard C Bishop 10-Jun-13 14:59pm    
Not an expert by any accounts, but you will be more successful at getting good help here if you follow the guidelines.
Ariana Bond 10-Jun-13 15:06pm    
if people like you and SA will help me and i will for sure appreciate SA , are here for guidelines then i would be able to learn in real manner.
I misbehaved with him last time after that i apologized but the real thing is after offence there is no place for sorry. So i'l keep in mind not to misbehave with anyone.
SA has great caliber and yours too and that's why you persons are also much more mature then me.
By the way that thanks was not joke , i mean it so you should accept it.don't you think so but the way i said it looks funny so its OK , some other time.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900