Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Contador - SQL
Message
From
21/02/2002 07:06:34
 
 
To
21/02/2002 06:35:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00622770
Message ID:
00623052
Views:
36
>[Breno] Alex , eu já havia tentado isso tambem , o problema é que ele me traz 1 pra todos os registro pois ele nesse caso considera o GROUP BY.

Você não quer a suma dos registros mais o número de registro?? Pra qué? O número de registro não deve ser usado em VFP. Ele muda quando você faz um pack.

No SQL Server, não existe o conceito dos registros. SQL é uma linguagem direitado a sets, não a registros individuais. Ele não tém número de registro.

Si vc realmente quer um número você pode usar o número de registro no cursor resultante.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform