cancel
Showing results for 
Search instead for 
Did you mean: 

how to list the user defined function in db in sap b1

Former Member
0 Kudos

Hi Experts,

What is the sql query for displaying the list of user defined function in DB.

kindly tell this.

thanks

Accepted Solutions (1)

Accepted Solutions (1)

kothandaraman_nagarajan
Active Contributor
0 Kudos

Hi,

Try this query:

SELECT * FROM CUFD

Thank you.

Former Member
0 Kudos

Thanks . I am getting this. How to know all these query . Please suggest some study material for sql queries

kothandaraman_nagarajan
Active Contributor
0 Kudos

Ways to learn SQL:

1. Create simple query in query generator.

2. Understand relationship between tables.

Please buy this book to learn SQL queries for B1:

Mastering SQL Queries for SAP Business One | PACKT Books

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Kumar,

here is the below query.

in below query where condition depends on hana and MSSQL database.

there is a type column in MSSQL and OBJECT_TYPE in hana.

You can have where condition with below query.

SELECT * from sys.objects

a sample query for hana is written below.

SELECT * from sys.objects where "OBJECT_TYPE"='FUNCTION'

In MSSQL values for type coulmn for function are

FN = SQL scalar function

FS = Assembly (CLR) scalar-function

FT = Assembly (CLR) table-valued function

IF = SQL inline table-valued function

Regards

khagesh

Former Member
0 Kudos

Hi friends,

I want this these fields to be needed . I am begineer , so iam asking.

using sap b1 9.0 using ssms V12

you have query for this