quinta-feira, 6 de agosto de 2015

Windev Sql /5.. - CASE












CASE is used to find out the operating mode of a IF .. THEN .. ELSE statement.

Video - Case - Windev Sql/5





select data_vencimento,data_pagamento,valor_titulo,
CASE valor_titulo
      when 10 then
         'é Numero 10'
      when 15 then
         'é Numero 15'
      else
          'outro nUMERO'
      end
from duplicata_pagar

http://doc.windev.com/en-US/?2034005&name=SQL_functions_Editor
http://doc.windev.com/en-US/?2034005&name=SQL_functions_Editor#NOTE2_45








Blog - Curso Sql/1 ... Select/Update -> NVL
Blog - Curso Sql/2... - Select Last_Day() - Ultimo dia Do Mes
Blog - Curso Sql/3... - Months_BetWeen
Blog - Curso Sq/4 ... - SysDate - Hora e Data Atual
Blog - Curso Sq/5 ... - Decode
Blog - Curso Sql/6... - Select Instr
Blog - Curso Sql/7... - Select Instr - Procura posicao 
Blog - Curso Sql/8 - Select count 
Blog - Curso Sql/9 - Select Max,Min,Count,Avg
Blog - Curso Sql/10 - Modifica Strings-Minuscula/Maiscula
Blog - Curso Sql/11 - Tamanho Campo - Len
Blog - Curso Sq/12 - Select - Pegar Dia/mes/Ano 
Blog - Curso Sql/13 - Select Betwen /2/ - Intervalo Data
Blog - Curso Sql/14 -  ALTER TABLE veiculo ADD foto BLOB
Blog - Curso Sql/15 - Dropt Table - Eliminar Uma Tabela Dentro WinDev 
Blog - Curso Sql/16 - Like - Pesquisar Cidade combox 
Blog - Curso Sql/17 - Select - Wl.ExtractString  

Nenhum comentário:

Postar um comentário

Teste

Teste
teste