Hi,
I am working on an application which requires a large data to be exported as XML or HTML, But the problem is i am getting an error-
Procedure expects parameter 'command_string' of type 'varchar'.
. So the question is are there any possibilities to override the procedure or some other way to do such thing.
Query is --
exec Master..XP_CMDSHELL 'echo "<html><head><style type="text/css">.login-wrapper {position: absolute;margin-top:15%;text-align: center;}.row-fluid {width: 100%;}.row-fluid:before, .row-fluid:after {display: table;line-height: 0;content: "";}.row-fluid:after {clear: both;}.row-fluid:before, .row-fluid:after {display: table;line-height: 0;content: "";}body {font-family: Open Sans , sans-serif;font-size: 12px;}body {font-family: "Lucida Console", Monaco, monospace;background-color: #f7f7f7;position: relative;font-size: 12px;padding: 0px;text-decoration: blink;width: auto;}.login-wrapper .box {margin: 0 auto;padding: 35px 0 30px;float: none;width: 500px;box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.1);border-radius: 5px;background: rgba(255, 255, 255, 0.65);}.row-fluid [class*="span"] {display: block;box-sizing: border-box;}.login-wrapper .box .content-wrap {width: 82%;margin: 0 auto;}div {display: block;}</style></head><body><div class="row-fluid login-wrapper"><div class="span4 box"><div class="content-wrap"><img alt="i.M. Branded" height="75px" src="" > C:\Users\atierp\Desktop\file.htm'
I need to export this file. It is static as of now but will be dynamic data.
Help would be very much appreciated.
Thanks,