Groups
Sign in
Groups
Comunidad de Visual Foxpro en Español
Conversations
Labels
About
Send feedback
Help
de integer en mysql a tipo numerico en cursor
28 views
Skip to first unread message
Saúl Piña
unread,
Mar 3, 2015, 11:51:06 AM
3/3/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to publice...@googlegroups.com
Saludos, como puedo hacer para cambiar el tipo de campo "Int" de mysql a "Numerico" en un cursor?
Víctor Hugo Espínola Domínguez
unread,
Mar 3, 2015, 12:33:55 PM
3/3/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to publice...@googlegroups.com
Hola Saúl
No entiendo para qué quieres hacer eso, pero todos los SGBD incluyendo VFP9 tienen la función CAST.
SELECT CAST(CampoInteger AS NUMERIC(10, 4)) AS NombreCampoNumerico ...
Saludos,
Víctor.
Lambaré - Paraguay.
Martin Paredes
unread,
Mar 3, 2015, 1:00:09 PM
3/3/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to publice...@googlegroups.com
o
SELECT tucampo::numeric(18,4) AS numerico WHERE ETC, ETC...
hay que ponerle imaginación y un poco de investigación.....
Salds.....
Mapasac
General Escobedo,N.L. Mexico
Reply all
Reply to author
Forward
0 new messages