Posts by Patricia • 166 points
4 posts
-
1
votes2
answers414
viewsA: Is there a security problem using the public schema in Postgresql?
Hello! The recommendation is to create a single database with several schematics appointed. This is different from a common (and older) practice of create multiple databases and store the objects…
-
1
votes1
answer1140
viewsA: Differentiate CPF and CNPJ that are in the same Mysql database column
Hello! You can use brazilnum from brazilnum.cnpj import validate_cnpj from brazilnum.cpf import validate_cpf # Retorna True se for um CNPJ válido validate_cnpj(documento) # Retorna True se for um…
python-2.7answered Patricia 166 -
0
votes1
answer34
viewsA: Specific rows of a table
Hello! I believe this will suit you. WHERE operacao.codoper IN (1, 3, 6)
-
3
votes2
answers171
viewsA: Coding problems
You can try using . Encode('utf-8') # -*- coding: utf-8 -*- import sys line = ["Oi tudo bem com você","eu GOSTO de café", "esta situação é Terrível"] def suppressions(line): mails = '…