I recently started at a company and working with an existing Microsoft SQL Server database. I am also new to SQL and database programming so please be kind :-) I have developed code in other languages however.
When viewing some of the tables using SQL Server Management Studio, I wondered in if the tables are being populated "properly". When I right-click on any table there are options for "Select Top 1000 Rows" and "Edit Top 200 Rows".
When I click either, the results show me the OLDEST entries not the NEWEST entries, as indicated by the Date column in the table. Granted I can view recent rows with a simple query from this thread SQL Server SELECT LAST N Rows. However, shouldn't the most recent entries (rows) be at the top of the tables? (and thus be shown with SELECT TOP command) Is this an indication that the code which populates the table was not written "properly" or according to good practice? It seems that, with the way the tables are currently being populated, that over time, it will take longer and longer to add new entries and also take longer and longer to get the latest data.
Thanks in advance.