<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.dotnetzone.gr:443/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SQL Server (και άλλες databases)</title><link>https://www.dotnetzone.gr:443/cs/forums/28/ShowForum.aspx</link><description>Θέματα που αφορούν τον SQL Server (7.0, 2000, 2005) αλλά και Oracle, Access, DB2, MySQL, κλπ.</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Απ: LAST RECORD</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/11831.aspx</link><pubDate>Wed, 12 Apr 2006 23:08:55 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:11831</guid><dc:creator>jimenez</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/11831.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=28&amp;PostID=11831</wfw:commentRss><description>ok eyxaristw poly!</description></item><item><title>Απ: LAST RECORD</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/11829.aspx</link><pubDate>Wed, 12 Apr 2006 23:01:56 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:11829</guid><dc:creator>raPhaeL</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/11829.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=28&amp;PostID=11829</wfw:commentRss><description>SELECT TOP 1 * FROM  ORDER BY  DESC (ή ASC ανάλογα)&lt;br /&gt;
&lt;br /&gt;
Όπου  το βάζεις το δικό σου Query και  τη συνθήκη&lt;br /&gt;
&lt;br /&gt;
ταξινόμησης.(Δηλ. Το γυρίζουμε ανάποδα και παίρνουμε την πρώτη εγγραφή.)</description></item><item><title>Απ: LAST RECORD</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/11827.aspx</link><pubDate>Wed, 12 Apr 2006 22:54:46 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:11827</guid><dc:creator>zeon</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/11827.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=28&amp;PostID=11827</wfw:commentRss><description>Ίσως δεν κατάλαβα και πολύ καλά τι ακριβώς θες αλλά αυτό μήπως σου κάνει?&lt;br /&gt;
&lt;br /&gt;
Select top 1 table1.* from table1&lt;br /&gt;
&lt;br /&gt;
          order by table1.id desc&lt;br /&gt;
&lt;br /&gt;
Αν το table1 είναι ο πίνακας σου κάνε orderby descending με το id και πάρε το top 1</description></item><item><title>Απ: LAST RECORD</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/11826.aspx</link><pubDate>Wed, 12 Apr 2006 22:41:24 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:11826</guid><dc:creator>jimenez</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/11826.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=28&amp;PostID=11826</wfw:commentRss><description>Σε sql server ειναι.απλα θελω με ενα query να παρω την τελευταια εγγραφή</description></item><item><title>Απ: LAST RECORD</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/11824.aspx</link><pubDate>Wed, 12 Apr 2006 22:13:46 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:11824</guid><dc:creator>zeon</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/11824.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=28&amp;PostID=11824</wfw:commentRss><description>Το query σου έχει "order by" και αν όχι πρόκειται για Oracle, Sql server ή κάτι άλλο?</description></item><item><title>LAST RECORD</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/11823.aspx</link><pubDate>Wed, 12 Apr 2006 21:52:04 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:11823</guid><dc:creator>jimenez</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/11823.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=28&amp;PostID=11823</wfw:commentRss><description>&lt;P&gt;GUYS πως μπορω να παρω την τελετυταια εγγραφή σε ένα query?Μήπως πρεπει να χρησιμοποιήσω cursor?&lt;/P&gt;</description></item></channel></rss>