sql server - SqlSave - dates not in order appending to database -
i using command sqlsave
(part of rodbc package) add data existing ms sql database. original table in database ordered date when run simple "select top 2000" query (there 1500 rows in table data displayed query) when run sqlsave
new data added table no longer in date order - rows added @ top , @ bottom.
i using following code:
sqlsave(channel, mydataframe, mytable, append=true, rownames = false, fast = false)
the r dataframe has same number of columns (in same order , same names) table.
this expected behavior. tables not have order, , unless specify order in query, results not guaranteed come out in particular, consistent order.
Comments
Post a Comment