adspace


Describe different types of general function used in sql?

Answer Posted / Shashank Pandey

"In SQL, there are two main types of functions: scalar functions and table functions. Scalar functions return a single value, while table functions return a result set that can be queried like a table. Examples of scalar functions include built-in functions (e.g., LENGTH, SUBSTRING), user-defined functions (UDFs), and system-defined functions. Table functions are used to create reusable queries, which can be used in the SELECT statement as if they were tables."

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to start mysql server? : Sql dba

1279


What is the best sql course?

1062


what are the advantages of sql ? : Sql dba

1153


Do we need to rebuild index after truncate?

1151


what are aggregate and scalar functions? : Sql dba

1142


If a cursor is open, how can we find in a pl/sql block?

1252


what is collation? : Sql dba

1242


what is sql server agent? : Sql dba

1188


Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

2099


How do I remove duplicates in two columns?

1202


What is the current version of postgresql?

1188


how to escape special characters in sql statements? : Sql dba

1124


Can we use distinct and group by together?

1146


define sql insert statement ? : Sql dba

1108


Can we rollback truncate?

1083