|
|
Sponsor |
Re: Access - ODBC - serial problem...: msg#00066db.postgresql.odbc
From what I know, SELECT @@IDENTITY, is a Transact SQL call that is a function of SQL server. I think what is happening here, is Access is making the call to the server and generating the call. Just an educated guess, but how would the ODBC driver know to make this call after an insert unless it kept track of the table schema for every table. Seems like more of a higher level function, Access learns the schema for the tables you have open, then makes the proper call. Of course being MS Access working with MS SQL might have something to do with it. Tha'ts one of the reasons I wound up using the function/stored procedure solution. The ODBC driver knows how to handle functions, and my front end doesn't have to know anything but how to put the proper pararmeters in and read them on return, after making the proper call. Again, I'm not an Access person, so I can't pretend to know how to do this through Access tables. It does work great when programming in Delphi though, or for that matter wrapping your SQL code in a higher level language. Philippe Lang wrote: Hello, ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Access - ODBC - serial problem..., Philippe Lang |
|---|---|
| Next by Date: | Re: Access - ODBC - serial problem..., Steve Jorgensen |
| Previous by Thread: | Re: Access - ODBC - serial problem..., Philippe Lang |
| Next by Thread: | Re: Access - ODBC - serial problem..., Steve Jorgensen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|