Author: Ajoy Khaund
Posted: 2011-09-21 at 08:37:18
Hi,
I have a composite key in VFP like
Padl(empno,4,'0') + DTOS(kdate) + Str(shiftno,1)
I use this index to do a seek to find out if a record exists for a particular employee on a particular date in a particular shift.
How can I do that in sql. I am going to use cursor adaptors.
TIA
Regards,
Ajoy Khaund
Neamati Road
Near Bhogdoi Bridge
Jorhat 785001-21
Assam, India
Cell: +91-9435092287
Fixed: +91-376-2351288
Mail: akhaund@hotmail.com
Blog: http://teaanalyst.blogspot.com/
Downloads: http://cid-40c8c3127198e7ff.skydrive.live.com/browse.aspx/Public
"Walking on water and developing software from a specification are easy if both are frozen."
- Edward V. Berard, "Life-Cycle Approaches"
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/F23BDBF052A642E4B8035BA0BE0F5E37@ajoykcompaq
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.