adspace


Can we create table in function?

Answer Posted / Km.priti

No, you cannot directly create a table inside a function because functions are defined within the scope of a schema and do not have the necessary privileges to create tables. You should create the table first, then define the function.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

define sql insert statement ? : Sql dba

1107


what are all the common sql function? : Sql dba

1139


What is the current version of postgresql?

1187


what is sql server agent? : Sql dba

1188


what are the advantages of sql ? : Sql dba

1150


What is the best sql course?

1061


What is your daily office routine?

2351


how many tables will create when we create table, what are they? : Sql dba

1153


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


Can delete statement be rollbacked?

1064


what is collation? : Sql dba

1239


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

1251


What is the current version of sql?

1103


Does group by remove duplicates?

1118


what is dbms? : Sql dba

1069