Quantcast
Channel: Programação de Function
Browsing all 3 articles
Browse latest View live

Programação de Function

Respondi neste fórum:http://forum.imasters.com.br/topic/521342-programacao-de-functionMas segue a resposta:IF EXISTS (select 1 from sys.objects where name = 'rendaCliente' and type = 'FN') drop...

View Article



Programação de Function

--testes: SELECT coluna2 = dbo.rendaCliente1(3); create function dbo.rendaCliente1 (@Codigo int) returns float as begin declare @renda float set @renda = (select top 1 renda from cliente (NOLOCK) where...

View Article

Programação de Function

Pessoal,Estou tentando criar uma Function que retorne o valor de duas tabelas distintas. O problema é o seguinte:Escreva uma função que retorne a renda salarial de todos os clientes, incluindo na renda...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images