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

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -