Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SET FOREIGN_KEY_CHECKS=0;
- TRUNCATE TABLE aa_cargo;
- TRUNCATE TABLE aa_centro_de_custos;
- TRUNCATE TABLE aa_escloc;
- TRUNCATE TABLE aa_funcionario;
- TRUNCATE TABLE aa_lotacao;
- TRUNCATE TABLE aa_matriz;
- TRUNCATE TABLE acao;
- TRUNCATE TABLE acao_agentes;
- TRUNCATE TABLE acao_plano;
- TRUNCATE TABLE acao_plano_historico;
- TRUNCATE TABLE acao_plano_meses;
- TRUNCATE TABLE acao_prioridade;
- TRUNCATE TABLE acao_responsavel;
- TRUNCATE TABLE acessos_negados;
- TRUNCATE TABLE acessos_realizados;
- TRUNCATE TABLE afastamento_motivo;
- TRUNCATE TABLE agenda_agendas_compartilhamento;
- TRUNCATE TABLE agenda_agendas_login;
- TRUNCATE TABLE agenda_avulsa_login;
- TRUNCATE TABLE agenda_compromissos;
- TRUNCATE TABLE agenda_compromissos_compartilhamento;
- TRUNCATE TABLE agenda_compromissos_lembretes;
- ##TRUNCATE TABLE agenda_compromissos_lembretes_view;
- TRUNCATE TABLE agenda_configuracoes;
- TRUNCATE TABLE agenda_configuracoes_lembretes;
- TRUNCATE TABLE agenda_horarios;
- TRUNCATE TABLE agenda_medica;
- TRUNCATE TABLE agenda_medica_historico;
- TRUNCATE TABLE agente_situacao_controle;
- TRUNCATE TABLE agentes;
- TRUNCATE TABLE agentes_epc_tipo;
- TRUNCATE TABLE agentes_epi_tipo;
- TRUNCATE TABLE agentes_instrumento_tipo;
- TRUNCATE TABLE agentes_legislacao;
- TRUNCATE TABLE anamnese;
- TRUNCATE TABLE anamnese_qmp_respostas;
- TRUNCATE TABLE aso;
- TRUNCATE TABLE aso_atestado_medico;
- TRUNCATE TABLE aso_cabecalho;
- #TRUNCATE TABLE aso_do_login;
- TRUNCATE TABLE aso_empregador;
- TRUNCATE TABLE aso_empresa;
- TRUNCATE TABLE aso_exames;
- TRUNCATE TABLE aso_exposicoes;
- TRUNCATE TABLE aso_funcionario;
- TRUNCATE TABLE aso_medicos;
- TRUNCATE TABLE assinaturas_especificas;
- TRUNCATE TABLE assinaturas_gerais;
- TRUNCATE TABLE atendimentos_medicos;
- TRUNCATE TABLE atestado_medico;
- #TRUNCATE TABLE atestado_medico_view;
- TRUNCATE TABLE audiometria_qap_respostas;
- TRUNCATE TABLE audiometro;
- TRUNCATE TABLE auditor;
- TRUNCATE TABLE auditor_regiao;
- TRUNCATE TABLE auditor_x_empresa;
- TRUNCATE TABLE auditoria;
- TRUNCATE TABLE auditoria_check_list;
- TRUNCATE TABLE auditoria_check_list_perguntas;
- TRUNCATE TABLE auditoria_empresa;
- TRUNCATE TABLE auditoria_empresa_perguntas;
- TRUNCATE TABLE auditoria_empresa_reponsaveis;
- TRUNCATE TABLE auto_completa;
- TRUNCATE TABLE autocompleta;
- TRUNCATE TABLE autocompleta_campos;
- TRUNCATE TABLE avaliacao_tecnica_utilizada;
- TRUNCATE TABLE avaliacao_unidade_de_medida;
- TRUNCATE TABLE boletos;
- TRUNCATE TABLE calibracao_instrumento;
- TRUNCATE TABLE cargo;
- TRUNCATE TABLE cargo_atividades_peric_insalub_especiais;
- TRUNCATE TABLE cargo_cbo_personalizado;
- TRUNCATE TABLE cat;
- TRUNCATE TABLE cat_acidente;
- TRUNCATE TABLE cat_acidente_agente_causador;
- TRUNCATE TABLE cat_acidente_parte_atingida;
- TRUNCATE TABLE cat_atestado_medico;
- TRUNCATE TABLE cat_testemunhas;
- TRUNCATE TABLE centro_de_resultados;
- TRUNCATE TABLE cipa;
- TRUNCATE TABLE cipa_responsaveis_empregadores;
- TRUNCATE TABLE cipa_responsaveis_funcionarios;
- #TRUNCATE TABLE cliente_num_funcionarios;
- TRUNCATE TABLE clientes;
- #TRUNCATE TABLE clientes_completa;
- #TRUNCATE TABLE clientes_filiais;
- TRUNCATE TABLE clientes_fotos;
- #TRUNCATE TABLE clientes_matrizes;
- TRUNCATE TABLE clientes_programa_avaliacoes_desenvolvimento;
- TRUNCATE TABLE clientes_responsabilidades_direcao;
- TRUNCATE TABLE clinica_da_regiao;
- TRUNCATE TABLE clinica_empresa;
- TRUNCATE TABLE clinicas;
- #TRUNCATE TABLE clinicas_da_empresa_view;
- TRUNCATE TABLE cobranca;
- TRUNCATE TABLE cobranca_email;
- TRUNCATE TABLE cobranca_email_enviados;
- TRUNCATE TABLE cobranca_historico;
- #TRUNCATE TABLE cobranca_view;
- TRUNCATE TABLE compromisso;
- TRUNCATE TABLE condicao_pagamento;
- TRUNCATE TABLE configuracoes;
- TRUNCATE TABLE configuracoes_previdenciario;
- TRUNCATE TABLE conta;
- TRUNCATE TABLE conta_bancaria;
- TRUNCATE TABLE conta_faturas;
- #TRUNCATE TABLE conta_faturas_view;
- TRUNCATE TABLE conta_pendencias;
- #TRUNCATE TABLE contas_view;
- TRUNCATE TABLE contrato;
- TRUNCATE TABLE contrato_historico;
- TRUNCATE TABLE contrato_parcelas;
- TRUNCATE TABLE contrato_servicos;
- #TRUNCATE TABLE contrato_view;
- TRUNCATE TABLE convocacao_de_exames;
- TRUNCATE TABLE convocacao_de_exames_emails;
- TRUNCATE TABLE convocacao_de_exames_exames;
- TRUNCATE TABLE convocacao_historico;
- TRUNCATE TABLE credenciado_contato;
- TRUNCATE TABLE crm_atividades;
- TRUNCATE TABLE crm_email;
- TRUNCATE TABLE crm_email_destinatarios;
- TRUNCATE TABLE diagnosticos;
- TRUNCATE TABLE digital_biometria;
- TRUNCATE TABLE dispositivo_biometria;
- TRUNCATE TABLE documento;
- TRUNCATE TABLE documento_capitulos;
- #TRUNCATE TABLE documento_pasta;
- TRUNCATE TABLE documento_permissoes_acesso_classe;
- TRUNCATE TABLE documento_permissoes_acesso_login;
- #TRUNCATE TABLE documentos_compartilhado;
- #TRUNCATE TABLE documentos_compartilhado_pasta;
- TRUNCATE TABLE email;
- TRUNCATE TABLE emitente_atestado;
- TRUNCATE TABLE empresa;
- TRUNCATE TABLE empresa_x_exames;
- TRUNCATE TABLE enfermagem;
- TRUNCATE TABLE enfermagem_regiao;
- TRUNCATE TABLE enfermagem_x_empresa;
- TRUNCATE TABLE engenheiros;
- TRUNCATE TABLE engenheiros_empresa;
- #TRUNCATE TABLE engenheiros_empresa_view;
- TRUNCATE TABLE engenheiros_regiao;
- TRUNCATE TABLE entrega_epi;
- TRUNCATE TABLE entrega_epi_digital;
- TRUNCATE TABLE entrega_epi_epis;
- #TRUNCATE TABLE entrega_epis_view;
- #TRUNCATE TABLE entrega_epis_view_a_realizar;
- TRUNCATE TABLE epc;
- TRUNCATE TABLE epc_tipo;
- TRUNCATE TABLE epi;
- TRUNCATE TABLE epi_tamanho;
- TRUNCATE TABLE epi_tipo;
- TRUNCATE TABLE epis_empresa;
- TRUNCATE TABLE epis_empresa_movimentacao;
- TRUNCATE TABLE escritorio_contabil;
- #TRUNCATE TABLE escrituracao_financeira;
- TRUNCATE TABLE esocial_certificado;
- TRUNCATE TABLE esocial_evento;
- TRUNCATE TABLE esocial_evento_exposicao_empresa;
- TRUNCATE TABLE esocial_evento_fatores_risco;
- TRUNCATE TABLE esocial_evento_historico;
- #TRUNCATE TABLE estabelecimentos;
- TRUNCATE TABLE exame_complementar;
- #TRUNCATE TABLE exame_complementar_view;
- TRUNCATE TABLE exame_recomendacoes;
- TRUNCATE TABLE exame_toxicologico;
- #TRUNCATE TABLE exame_view;
- TRUNCATE TABLE exames_audiometricos;
- TRUNCATE TABLE exames_lancados;
- TRUNCATE TABLE exposicao_empresa;
- TRUNCATE TABLE exposicao_empresa_acoes;
- TRUNCATE TABLE exposicao_empresa_avaliacoes;
- TRUNCATE TABLE exposicao_empresa_epcs_utilizados;
- TRUNCATE TABLE exposicao_empresa_epis_utilizados;
- TRUNCATE TABLE exposicao_empresa_fontes_geradoras;
- TRUNCATE TABLE exposicao_empresa_legislacao;
- TRUNCATE TABLE exposicao_empresa_medidas_administrativas_recomendadas;
- TRUNCATE TABLE exposicao_empresa_medidas_administrativas_utilizadas;
- TRUNCATE TABLE exposicao_empresa_meios_propagacao;
- TRUNCATE TABLE exposicao_empresa_resultados;
- TRUNCATE TABLE exposicao_empresa_sinalizacao;
- TRUNCATE TABLE exposicao_empresa_tipo_epcs_recomendados;
- TRUNCATE TABLE exposicao_empresa_tipo_epcs_utilizados;
- TRUNCATE TABLE exposicao_empresa_tipo_epis_recomendados;
- TRUNCATE TABLE exposicao_empresa_tipo_epis_utilizados;
- #TRUNCATE TABLE exposicao_funcionario_empresa;
- TRUNCATE TABLE exposicoes_empresa;
- TRUNCATE TABLE exposicoes_empresa_cargos;
- TRUNCATE TABLE exposicoes_empresa_funcionarios;
- TRUNCATE TABLE exposicoes_empresa_legislacao;
- TRUNCATE TABLE exposicoes_empresa_validade;
- TRUNCATE TABLE ficha_medica;
- TRUNCATE TABLE ficha_medica_anamnese;
- TRUNCATE TABLE ficha_medica_atestado_medico;
- #TRUNCATE TABLE ficha_medica_do_login;
- TRUNCATE TABLE ficha_medica_empresa;
- TRUNCATE TABLE ficha_medica_exames;
- TRUNCATE TABLE ficha_medica_funcionario;
- TRUNCATE TABLE ficha_medica_medicos;
- TRUNCATE TABLE ficha_medica_triagem;
- TRUNCATE TABLE fonoaudiologo;
- TRUNCATE TABLE fonoaudiologo_regiao;
- TRUNCATE TABLE fonoaudiologo_x_audiometro;
- TRUNCATE TABLE fonoaudiologo_x_empresa;
- TRUNCATE TABLE formas_pagamento;
- TRUNCATE TABLE fornecedor;
- #TRUNCATE TABLE fornecedor_view;
- TRUNCATE TABLE funcionario_absenteismo;
- TRUNCATE TABLE funcionario_fatores_risco;
- TRUNCATE TABLE funcionario_fatores_risco_ca;
- #TRUNCATE TABLE funcionario_inss;
- TRUNCATE TABLE funcionario_requisitos_epi;
- TRUNCATE TABLE funcionario_resp_mon_biologica;
- TRUNCATE TABLE funcionario_resp_reg_ambientais;
- TRUNCATE TABLE funcionario_riscos_mostrar;
- TRUNCATE TABLE funcionario_x_exames;
- TRUNCATE TABLE funcionario_x_exames_canceladas;
- TRUNCATE TABLE funcionarios;
- TRUNCATE TABLE funcionarios_atividades_peric_insalub_especiais;
- TRUNCATE TABLE funcionarios_enfermagem;
- TRUNCATE TABLE funcionarios_engenheiros;
- #TRUNCATE TABLE funcionarios_historico;
- TRUNCATE TABLE funcionarios_laudo_deficiencia;
- TRUNCATE TABLE funcionarios_laudo_deficiencia_tipos_deficiencia;
- TRUNCATE TABLE funcionarios_medicos;
- TRUNCATE TABLE funcionarios_obs;
- #TRUNCATE TABLE funcionarios_sem_exame;
- TRUNCATE TABLE funcionarios_setores_secundarios;
- TRUNCATE TABLE funcionarios_tecnicos;
- TRUNCATE TABLE grau_de_risco;
- TRUNCATE TABLE historico_biometria;
- TRUNCATE TABLE historico_funcionario;
- TRUNCATE TABLE historico_funcionario_atividades_peric_insalub_especiais;
- #TRUNCATE TABLE instituicao;
- TRUNCATE TABLE instrumento_tipo;
- TRUNCATE TABLE instrumentos;
- TRUNCATE TABLE instrutor;
- TRUNCATE TABLE instrutor_regiao;
- TRUNCATE TABLE instrutor_x_empresa;
- TRUNCATE TABLE laboratorio;
- TRUNCATE TABLE lancamento_financeiro;
- TRUNCATE TABLE laudo;
- TRUNCATE TABLE laudo_capitulos;
- TRUNCATE TABLE laudo_clientes_variaveis;
- TRUNCATE TABLE laudo_dosimetria;
- TRUNCATE TABLE laudo_texto_temporario;
- TRUNCATE TABLE laudos;
- TRUNCATE TABLE lembretes;
- TRUNCATE TABLE local_trabalho;
- TRUNCATE TABLE login;
- TRUNCATE TABLE logomarcas;
- TRUNCATE TABLE ltcat;
- #TRUNCATE TABLE ltcat_do_login;
- TRUNCATE TABLE ltcat_engenheiros;
- TRUNCATE TABLE ltcat_medicos;
- TRUNCATE TABLE ltcat_tecnicos;
- TRUNCATE TABLE medicamentos;
- TRUNCATE TABLE medicamentos_funcionarios;
- TRUNCATE TABLE medicos;
- TRUNCATE TABLE medicos_clinicas_regiao;
- TRUNCATE TABLE medicos_da_clinica;
- TRUNCATE TABLE medicos_x_clinicas_x_empresa;
- #TRUNCATE TABLE medicos_x_clinicas_x_empresa_view;
- TRUNCATE TABLE medida_administrativa;
- TRUNCATE TABLE medida_administrativa_agentes;
- TRUNCATE TABLE medida_tipo;
- TRUNCATE TABLE meio_propagacao;
- TRUNCATE TABLE motivo_desligamento;
- TRUNCATE TABLE motivo_encerramento;
- TRUNCATE TABLE parecer_atestado;
- TRUNCATE TABLE pcmso;
- TRUNCATE TABLE pcmso_anual;
- #TRUNCATE TABLE pcmso_anual_do_login;
- TRUNCATE TABLE pcmso_anual_exames_lancados;
- TRUNCATE TABLE pcmso_anual_funcionarios;
- TRUNCATE TABLE pcmso_anual_medicos;
- TRUNCATE TABLE pcmso_anual_quadro3;
- #TRUNCATE TABLE pcmso_do_login;
- TRUNCATE TABLE pcmso_exames_complementares_empresa;
- TRUNCATE TABLE pcmso_medicos;
- TRUNCATE TABLE pendencias;
- TRUNCATE TABLE permissoes_acesso;
- TRUNCATE TABLE permissoes_acesso_classes;
- TRUNCATE TABLE permissoes_acesso_listagem;
- TRUNCATE TABLE permissoes_acesso_listagem_botoes;
- TRUNCATE TABLE permissoes_acesso_listagem_campos_multiplos;
- TRUNCATE TABLE permissoes_acesso_listagem_x_login;
- TRUNCATE TABLE permissoes_acesso_listagem_x_login_orderby;
- TRUNCATE TABLE permissoes_acesso_local;
- TRUNCATE TABLE permissoes_acesso_local_classes;
- TRUNCATE TABLE permissoes_acesso_local_logins;
- TRUNCATE TABLE permissoes_acesso_login;
- TRUNCATE TABLE permissoes_classes;
- TRUNCATE TABLE pgr;
- #TRUNCATE TABLE pgr_do_login;
- TRUNCATE TABLE pgr_engenheiros;
- TRUNCATE TABLE pgr_medicos;
- TRUNCATE TABLE pgr_tecnicos;
- TRUNCATE TABLE plano;
- TRUNCATE TABLE plano_servicos;
- TRUNCATE TABLE ppp;
- TRUNCATE TABLE ppp_cats;
- #TRUNCATE TABLE ppp_do_login;
- TRUNCATE TABLE ppp_empresa;
- TRUNCATE TABLE ppp_engenheiros;
- TRUNCATE TABLE ppp_exames;
- TRUNCATE TABLE ppp_exposicoes;
- TRUNCATE TABLE ppp_exposicoes_avaliacoes;
- TRUNCATE TABLE ppp_exposicoes_ca;
- TRUNCATE TABLE ppp_funcionario;
- TRUNCATE TABLE ppp_funcionario_fatores_risco;
- TRUNCATE TABLE ppp_funcionario_fatores_risco_ca;
- TRUNCATE TABLE ppp_historico;
- TRUNCATE TABLE ppp_medicos;
- TRUNCATE TABLE ppp_medicos_registros_ambientais;
- TRUNCATE TABLE ppra;
- #TRUNCATE TABLE ppra_do_login;
- TRUNCATE TABLE ppra_engenheiros;
- TRUNCATE TABLE ppra_medicos;
- TRUNCATE TABLE ppra_tecnicos;
- TRUNCATE TABLE programa_avaliacoes_desenvolvimento;
- TRUNCATE TABLE prontuario_medico;
- TRUNCATE TABLE prontuario_medico_anamnese;
- TRUNCATE TABLE prontuario_medico_atestado_medico;
- #TRUNCATE TABLE prontuario_medico_do_login;
- TRUNCATE TABLE prontuario_medico_empresa;
- TRUNCATE TABLE prontuario_medico_exames;
- TRUNCATE TABLE prontuario_medico_funcionario;
- TRUNCATE TABLE prontuario_medico_medicos;
- TRUNCATE TABLE prontuario_medico_triagem;
- TRUNCATE TABLE prospeccao;
- TRUNCATE TABLE psstr;
- #TRUNCATE TABLE psstr_do_login;
- TRUNCATE TABLE psstr_engenheiros;
- TRUNCATE TABLE psstr_medicos;
- TRUNCATE TABLE psstr_setor_ghe_empresa;
- TRUNCATE TABLE psstr_setor_ghe_empresa_maquinas;
- TRUNCATE TABLE psstr_tecnicos;
- TRUNCATE TABLE qmp;
- TRUNCATE TABLE qmp_categoria;
- TRUNCATE TABLE qmp_pergunta;
- TRUNCATE TABLE qmp_tipo;
- TRUNCATE TABLE regiao;
- TRUNCATE TABLE remessa;
- TRUNCATE TABLE remessa_cobrancas;
- TRUNCATE TABLE repositorio_financeiro;
- TRUNCATE TABLE responsabilidades_direcao;
- TRUNCATE TABLE responsaveis_da_empresa;
- TRUNCATE TABLE secretaria;
- TRUNCATE TABLE secretaria_da_regiao;
- TRUNCATE TABLE secretaria_empresa;
- TRUNCATE TABLE servico;
- TRUNCATE TABLE servico_historico;
- TRUNCATE TABLE servico_valores;
- #TRUNCATE TABLE servico_view;
- TRUNCATE TABLE servicos_realizados_detalhados;
- #TRUNCATE TABLE servicos_realizados_detalhados_view;
- #TRUNCATE TABLE servicos_realizados_view;
- TRUNCATE TABLE setor_cargos;
- TRUNCATE TABLE setor_esocial_evento;
- TRUNCATE TABLE setor_ghe_empresa;
- TRUNCATE TABLE setor_ghe_empresa_fotos;
- TRUNCATE TABLE setor_ghe_empresa_maquinas;
- #TRUNCATE TABLE setor_view;
- TRUNCATE TABLE setor_vigencia;
- TRUNCATE TABLE sinalizacao;
- TRUNCATE TABLE sinalizacao_agentes;
- TRUNCATE TABLE sintomas;
- TRUNCATE TABLE sintomas_funcionarios;
- TRUNCATE TABLE sistema_auditoria;
- TRUNCATE TABLE site;
- TRUNCATE TABLE solicitacao_de_exame;
- TRUNCATE TABLE solicitacao_de_exame_exames;
- TRUNCATE TABLE tecnicos;
- TRUNCATE TABLE tecnicos_empresa;
- TRUNCATE TABLE tecnicos_regiao;
- TRUNCATE TABLE tela_padrao_pesquisa;
- TRUNCATE TABLE telefone;
- TRUNCATE TABLE tipo_deficiencia;
- TRUNCATE TABLE treinamento;
- TRUNCATE TABLE treinamento_agentes;
- TRUNCATE TABLE treinamento_ementa;
- TRUNCATE TABLE treinamento_empresa;
- TRUNCATE TABLE treinamento_empresa_funcionarios;
- TRUNCATE TABLE treinamento_empresa_maquinas;
- TRUNCATE TABLE treinamento_empresa_responsaveis;
- TRUNCATE TABLE triagem;
- TRUNCATE TABLE vendedor;
- SET FOREIGN_KEY_CHECKS=1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement