Create Function in Sqlbase

Discussion forum about all things SqlBase or SqlTalk
FRBhote
India
Posts: 2206
Joined: 09 Mar 2017, 05:32
Location: Hyderabad, India

Create Function in Sqlbase

Post by FRBhote » 16 Sep 2022, 13:08

Is there something similar to (Sqlserver):

CREATE FUNCTION [dbo].[fnEncript_UID](@str varchar(20))
RETURNS varbinary(500)
AS ....

in Sqlbase?

TIA

Igor Ivanovic
Site Admin
Site Admin
Croatia
Posts: 1462
Joined: 05 Mar 2017, 12:37
Location: Zagreb, Croatia

Re: Create Function in Sqlbase

Post by Igor Ivanovic » 21 Sep 2022, 06:43

Yes there is, but its called a stored procedure:

Code: Select all

procedure procedure_name static
 parameters
 	Number: p_nInd
 local variables
 	String: sText
 actions
 
  return 0
Igor Ivanovic
Image

Return to “SqlBase General Discussion”

Who is online

Users browsing this forum: [Ccbot] and 2 guests