<?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>Απ: select scope_identity και insert</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/34245.aspx</link><pubDate>Thu, 09 Aug 2007 16:24:08 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:34245</guid><dc:creator>Mitsaras</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/34245.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=28&amp;PostID=34245</wfw:commentRss><description>Μπορείς να χρησιμοποιήσεις και την output.inserted&lt;br&gt;</description></item><item><title>Απ: select scope_identity και insert</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/34244.aspx</link><pubDate>Thu, 09 Aug 2007 16:20:42 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:34244</guid><dc:creator>sakalis</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/34244.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=28&amp;PostID=34244</wfw:commentRss><description>&lt;P&gt;TO scope_identity είναι μόνο για το current Session δηλαδή για το χρήστη ποθυ κάνει εισαγωγή. Οι άλλοι χρήστες αν κάνουν ταυτόχρονη εισαγωγή θα έχουν διαφορετικό &lt;/P&gt;</description></item><item><title>select scope_identity και insert</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/34243.aspx</link><pubDate>Thu, 09 Aug 2007 15:09:47 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:34243</guid><dc:creator>DaltonGR</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/34243.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=28&amp;PostID=34243</wfw:commentRss><description>&lt;P&gt;Καλημέρα,&lt;/P&gt;
&lt;P&gt;αυτό που θέλω να κάνω, και θέλω την συμβουλή σας είναι, καθώς κάνω εισαγωγή μιας εγγραφής σε ένα πίνακα μόλις τελειώσει θέλω&amp;nbsp;την τιμή του&amp;nbsp;πρωτεύων κλειδή που καταχωρήθηκε στην εγγραφή αυτή να το ανακτήσω και να κάνω update εναν άλλο πίνακα καταχωρώντας την τιμή σε ένα πεδίο.Σκέφτηκα χρησιμοποιώντας την insert και αμέσως να κάνω select scope_identity για να πάρω την τιμή αυτή.Άν σε ένα σύστημα όμως υπάρχουν πολλοί χρήστες μήπως γίνει μπέρδεμα?&lt;/P&gt;
&lt;P&gt;ευχαριστώ εκ των προτέρων..&lt;/P&gt;</description></item></channel></rss>