SQL Calling Methods

This is a discussion on SQL Calling Methods within the xbase forums in Other Databases category; I am doing some grouping in SQL with the grouping determined by a method call (because the grouping is user-defined and quite arbitrary). So far, so good. Are there any pitfalls that I need to watch for? I do not need to do this, but is it still dangerous to move a table pointer even if one restores it? Sincerely, Gene Wirchenko Computerese Irregular Verb Conjugation: I have preferences. You have biases. He/She has prejudices....

Go Back   Database Forum > Other Databases > xbase

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 06-19-2008, 08:07 PM
Default SQL Calling Methods

I am doing some grouping in SQL with the grouping determined by a
method call (because the grouping is user-defined and quite
arbitrary). So far, so good. Are there any pitfalls that I need to
watch for?

I do not need to do this, but is it still dangerous to move a
table pointer even if one restores it?

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.
Reply With Quote
  #2  
Old 06-20-2008, 01:38 AM
Default Re: SQL Calling Methods

SQL statements should not move the record pointer of the queried tables.

But if you do move a record pointer then move it back, it shouldn't change
anything - EXCEPT if there's row buffering on the table and a field has
changed. In that case, the changes will be automatically saved.

It's rare to run a query on a buffered table, but if you do, make sure you
understand WITH BUFFERING.




"Gene Wirchenko" wrote in message
news:2gpl545cscpgqj2q3la39bo8c9us58gh89-at-4ax.com...
> I am doing some grouping in SQL with the grouping determined by a
> method call (because the grouping is user-defined and quite
> arbitrary). So far, so good. Are there any pitfalls that I need to
> watch for?
>
> I do not need to do this, but is it still dangerous to move a
> table pointer even if one restores it?
>
> Sincerely,
>
> Gene Wirchenko
>
> Computerese Irregular Verb Conjugation:
> I have preferences.
> You have biases.
> He/She has prejudices.



Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 09:55 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.