Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Where not match - maior que (condição)

Olá, boa tarde.

Preciso excluir no meu script os documentos com data de faturamento maiores que 2016. Como posso fazer essa condição?

Where not match ([Data do faturamento], '01/01/2016');

Obrigada!

Labels (3)
1 Solution

Accepted Solutions
Thiago_Justen_

Meirielle,

Sugiro fazer o seguinte:

Load

        [Data do faturamento],

        OUTROS_CAMPOS

From SEU_DB where [Data do faturamento]<='31/12/2015';

Ou ainda:

Load

        [Data do faturamento],

        OUTROS_CAMPOS

From SEU_DB where [Data do faturamento]<'01/01/2016';

Thiago Justen Teixeira Gonçalves
Farol BI
WhatsApp: 24 98152-1675
Skype: justen.thiago

View solution in original post

3 Replies
Thiago_Justen_

Meirielle,

Sugiro fazer o seguinte:

Load

        [Data do faturamento],

        OUTROS_CAMPOS

From SEU_DB where [Data do faturamento]<='31/12/2015';

Ou ainda:

Load

        [Data do faturamento],

        OUTROS_CAMPOS

From SEU_DB where [Data do faturamento]<'01/01/2016';

Thiago Justen Teixeira Gonçalves
Farol BI
WhatsApp: 24 98152-1675
Skype: justen.thiago
Anonymous
Not applicable
Author

Thiago, perfeito, bem mais simples rsrsr

Obrigada!

Thiago_Justen_

Sempre à disposição!

Thiago Justen Teixeira Gonçalves
Farol BI
WhatsApp: 24 98152-1675
Skype: justen.thiago