SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 PL/SQL concepts
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Newbi
Starting Member

India
5 Posts

Posted - 06/12/2013 :  05:01:32  Show Profile  Reply with Quote
HI All,

I am newbie with pl/sql and sql..I want to know that

which of the following allows a pl/sql user to define a function?

1-Alter table command
2-Having clause of the select command
3-From clause of the select an update command
4-nextval


kindly tell me with brief description....


Thanks




Abbas

bandi
Flowing Fount of Yak Knowledge

India
2223 Posts

Posted - 06/12/2013 :  05:07:28  Show Profile  Reply with Quote
PL/SQL related to ORACLE...
This forum is purely for SQL Server.... Here we deal with T-SQL...

As per ANSI standards, Functions doesn't allow any UPDATE, ALTER and etc functionalities....
I think answer should be 2 ( we can use SELECT statement along with HAVING clause in a function)


--
Chandu
Go to Top of Page

Newbi
Starting Member

India
5 Posts

Posted - 06/12/2013 :  05:12:30  Show Profile  Reply with Quote
thnaks chandu......



Abbas
Go to Top of Page

bandi
Flowing Fount of Yak Knowledge

India
2223 Posts

Posted - 06/12/2013 :  05:19:07  Show Profile  Reply with Quote
quote:
Originally posted by Newbi

thnaks chandu......
Abbas


What about 4th option...?
Check once in the ORACLE BOX
Create function to return sequence's nextval
then you will get to know the result....
And also google it


--
Chandu
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000