TeaAddictedGeek
Programmer
I can't seem to get the data inserted into the table... it'll input the date and time, but when I open up the row in SQL server, it shows a blank cell for the variable data.<br>
<br>
The code is below, in both SQL and Cold Fusion.... I know that there's a separate group for Cold Fusion tags, but this seems to be a SQL issue. Can anyone help? It's driving me nuts; I can't seem to figure it out.<br>
<br>
<br>
Thanks!<br>
<br>
<br>
<br>
<br>
<br>
<cfloop query="source"> <!--- begin CFLOOP query source ---><br>
<P><center><br>
<font class="partnersbody"><h3>Checking source and destination(s)....</h3></font><br>
</center><P><br>
<cfif d_id is " "><br>
<cfabort><br>
</cfif><br>
<br>
<P><center><br>
<font class="partnersbody"><h3>Successful copy!</h3></font><br>
</center><P><br>
<cfquery datasource="wl_application" name="copy"><br>
exec master..xp_cmdshell 'robocopy #source.s_path# #source.d_path# *.* <cfif source.s_recurse IS "1">/E</cfif>'<br>
<br>
</cfquery><br>
<pre><br>
<br>
<cfoutput query="copy">#copy.output#<br></cfoutput><br>
<br>
<cfquery name="update" datasource="wl_application"><br>
<br>
insert into repl_log(data)<br>
values('#copy.output#') <br>
</cfquery><br>
<br>
</pre><br><br>
</cfloop> <br>
<br>
<br>
The code is below, in both SQL and Cold Fusion.... I know that there's a separate group for Cold Fusion tags, but this seems to be a SQL issue. Can anyone help? It's driving me nuts; I can't seem to figure it out.<br>
<br>
<br>
Thanks!<br>
<br>
<br>
<br>
<br>
<br>
<cfloop query="source"> <!--- begin CFLOOP query source ---><br>
<P><center><br>
<font class="partnersbody"><h3>Checking source and destination(s)....</h3></font><br>
</center><P><br>
<cfif d_id is " "><br>
<cfabort><br>
</cfif><br>
<br>
<P><center><br>
<font class="partnersbody"><h3>Successful copy!</h3></font><br>
</center><P><br>
<cfquery datasource="wl_application" name="copy"><br>
exec master..xp_cmdshell 'robocopy #source.s_path# #source.d_path# *.* <cfif source.s_recurse IS "1">/E</cfif>'<br>
<br>
</cfquery><br>
<pre><br>
<br>
<cfoutput query="copy">#copy.output#<br></cfoutput><br>
<br>
<cfquery name="update" datasource="wl_application"><br>
<br>
insert into repl_log(data)<br>
values('#copy.output#') <br>
</cfquery><br>
<br>
</pre><br><br>
</cfloop> <br>
<br>