Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

data conversion and appending

$
0
0
<p>I am working with existing code and am changing the data source for some queries.&nbsp; The original data source had a date field that needs to be compared to another date field.&nbsp; The new table has the correct contents, but in numeric data type.&nbsp;</p><p>I have tried select into - creating the field definitions on creation</p><span style="color:#0000ff;font-face:Courier;font-size:small;"><span style="color:#0000ff;font-face:Courier;font-size:small;"><span style="color:#0000ff;font-face:Courier;font-size:small;"> <p>select</p><p>id as varchar(255),</p><p>special_date as date</p><p></p></span></span></span><p></p>

Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>