Jump to content
Fivewin Brasil

Como Fazer em SQL ?


ZECA

Recommended Posts

Tenho os seguintes dados:

tabela - clientes

campos da tabela CGC e CGCPURO

Funcao - SEMPONTO

O quero fazer é o seguintes

Gravar em todos os campos CGCPURO e CGC com somente os numeros

Seria mais o menos assim em dbf

sele clientes

DO WHILE !EOF()

replace all CGCPURO with SEMPONTO(CGC)

SKIP

ENDDO

tudo isso em SQL PURO

Alguem tem alguma idéia ?

Sds

José Carlos - ZECA

fwh612(Free)-clipper52e-blinker 7.0 - six 3.02 - Windows XP

Link to comment
Share on other sites

Tenho os seguintes dados:

tabela - clientes

campos da tabela CGC e CGCPURO

Funcao - SEMPONTO

O quero fazer é o seguintes

Gravar em todos os campos CGCPURO e CGC com somente os numeros

Seria mais o menos assim em dbf

sele clientes

DO WHILE !EOF()

replace all CGCPURO with SEMPONTO(CGC)

SKIP

ENDDO

tudo isso em SQL PURO

Alguem tem alguma idéia ?

Sds

José Carlos - ZECA

fwh612(Free)-clipper52e-blinker 7.0 - six 3.02 - Windows XP

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...