How many parameter u can pass in a procedure [message #282323] |
Wed, 21 November 2007 08:48 |
deviji
Messages: 23 Registered: November 2007
|
Junior Member |
|
|
hi,
plz ans for these.....
1) How many DB can be created in a machine
2) How many column can be used in a Select Statement
3) How many tables tht can be joined in a select statement
4) How many SUB QUR tht can be written in a session
5) How many column can we hav in a Table
6) What is the Max size of Procedure
7) How many parameter u can pass in a procedure
How many Objects u can create in DB
tc
viji
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: How many parameter u can pass in a procedure [message #287122 is a reply to message #287118] |
Tue, 11 December 2007 02:32 |
|
Maaher
Messages: 7065 Registered: December 2001
|
Senior Member |
|
|
@deviji:
I successfully selected 3999 columns from dual. I did it in both 9iR2 and 10gR2. My conclusion is that your answer to question 2 is wrong. I generated the select statement with this query:SELECT *
FROM (SELECT /*+ALL_ROWS*/
', ' || LEVEL || ' column_' || LEVEL x
FROM DUAL
CONNECT BY LEVEL < 4000) All you need to do is modify the first line of the result set and add a "from dual" and you're off. I didn't check the rest of your answers (yet) but I'd certainly double check.
MHE
[Updated on: Tue, 11 December 2007 02:32] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: How many parameter u can pass in a procedure [message #287328 is a reply to message #287315] |
Tue, 11 December 2007 23:45 |
Frank
Messages: 7901 Registered: March 2000
|
Senior Member |
|
|
You'd better rethink your logic if you ever run into one of those limits.
Why are you so keen on knowing how many columns you can have in a select, or in fact the other limits?
And as for Michel's 42: google for that number if it does not ring a bell. It is about the most famous number.
|
|
|
Re: How many parameter u can pass in a procedure [message #287348 is a reply to message #287303] |
Wed, 12 December 2007 01:03 |
|
Maaher
Messages: 7065 Registered: December 2001
|
Senior Member |
|
|
I had to test it myself. It's a logical deduction you made, but apparently not correct.
I'd listen to Frank: if anyone is hitting any of these limits, the design probably needs a makeover. It sure would be a nightmare to maintain. One of the limits I have ever encountered in my professional life is the size of a VARCHAR2.
MHE
|
|
|