TrabalhosGratuitos.com - Trabalhos, Monografias, Artigos, Exames, Resumos de livros, Dissertações
Pesquisar

Exemplo De Function BD

Ensaios: Exemplo De Function BD. Pesquise 860.000+ trabalhos acadêmicos

Por:   •  4/12/2013  •  307 Palavras (2 Páginas)  •  307 Visualizações

Página 1 de 2

CREATE FUNCTION fn_cep(@cep int)

returns varchar(40) as

begin

DECLARE @retorno varchar(40)

set @retorno = (select ENDERECO from CLIENTES where cep=@cep)

return @retorno

end

CREATE FUNCTION fn_cep(@cep int)

returns varchar(40) as

begin

DECLARE @retorno varchar(40)

set @retorno = (select ENDERECO from CLIENTES where cep=@cep)

return @retorno

end

CREATE FUNCTION fn_cep(@cep int)

returns varchar(40) as

begin

DECLARE @retorno varchar(40)

set @retorno = (select ENDERECO from CLIENTES where cep=@cep)

return @retorno

end

CREATE FUNCTION fn_cep(@cep int)

returns varchar(40) as

begin

DECLARE @retorno varchar(40)

set @retorno = (select ENDERECO from CLIENTES where cep=@cep)

return @retorno

endCREATE FUNCTION fn_cep(@cep int)

returns varchar(40) as

begin

DECLARE @retorno varchar(40)

set @retorno = (select ENDERECO from CLIENTES where cep=@cep)

return @retorno

end

CREATE FUNCTION fn_cep(@cep int)

returns varchar(40) as

begin

DECLARE @retorno varchar(40)

set @retorno = (select ENDERECO from CLIENTES where cep=@cep)

return @retorno

endCREATE FUNCTION fn_cep(@cep int)

returns varchar(40) as

begin

DECLARE @retorno varchar(40)

set @retorno = (select ENDERECO from CLIENTES where cep=@cep)

return @retorno

end

CREATE FUNCTION fn_cep(@cep int)

returns varchar(40) as

begin

DECLARE @retorno varchar(40)

set @retorno = (select ENDERECO from CLIENTES where cep=@cep)

return @retorno

endCREATE FUNCTION fn_cep(@cep int)

returns varchar(40) as

begin

DECLARE @retorno varchar(40)

set @retorno = (select ENDERECO from CLIENTES where cep=@cep)

return @retorno

end

CREATE FUNCTION fn_cep(@cep int)

returns varchar(40) as

begin

DECLARE @retorno varchar(40)

set @retorno = (select ENDERECO from CLIENTES where cep=@cep)

return @retorno

endCREATE FUNCTION fn_cep(@cep int)

returns varchar(40) as

begin

DECLARE @retorno varchar(40)

set @retorno = (select ENDERECO from CLIENTES where cep=@cep)

...

Baixar como (para membros premium)  txt (3.2 Kb)  
Continuar por mais 1 página »
Disponível apenas no TrabalhosGratuitos.com