Oct 3, 2001 #1 NoKeS Programmer Sep 27, 2001 21 PT I want to put the result of this code into a variable called @Factor: Like Select @Factor = select Factor from Moeda, Pedido Where Moeda.Moeda='USD' And Pedido.Abertura=Moeda.Data And Pedido.Fecho is Not Null How do I do??
I want to put the result of this code into a variable called @Factor: Like Select @Factor = select Factor from Moeda, Pedido Where Moeda.Moeda='USD' And Pedido.Abertura=Moeda.Data And Pedido.Fecho is Not Null How do I do??
Oct 3, 2001 #2 SeAL Programmer Mar 15, 2001 139 FR just like that: Select @Factor = Factor from Moeda, Pedido Where Moeda.Moeda='USD' And Pedido.Abertura=Moeda.Data And Pedido.Fecho is Not Null Hope this helps ... Upvote 0 Downvote
just like that: Select @Factor = Factor from Moeda, Pedido Where Moeda.Moeda='USD' And Pedido.Abertura=Moeda.Data And Pedido.Fecho is Not Null Hope this helps ...