I have a script which im running through sql command utility and in one varchar field im inserting this code
<script>
$(document).ready(function(){
$(body).css(''margin'',''400px'')
})
</script>
and it gives me this
'document' scripting variable not defined.
'body' scripting variable not defined.
error. What could be the issue?
SQLCMDuses the form$(...)to do variable substitution at run-time.You can switch variable substitution off with the
-xoption.See MSDN for more details