Encryption in Procedure Builder

Could anybody tell to me how to encrypt program units in Procedure Builder, like happens with SYS Program Units for every users?

There is a utlity called wrap.exe you can use it.

Similar Messages

  • Execute Dynamic SQL statement using procedure builder

    i want to execute a dynamic SQL statment using procedure builder not using forms
    because my statement depending on a variable table name
    i know that i can do that from forms using
    FORMS_DDL('SQL_STAT');
    but i wanna to use the procedure builder
    which function i should use and how?
    please explain in example if you don't mind.
    thanks

    Hi,
    You can very well use DBMS_SQL Package supplied by Oracle for doing this.
    Search for DBMS_SQL in OTN. You will get all info regarding this.
    Regards.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by itslul:
    i want to execute a dynamic SQL statment using procedure builder not using forms
    because my statement depending on a variable table name
    i know that i can do that from forms using
    FORMS_DDL('SQL_STAT');
    but i wanna to use the procedure builder
    which function i should use and how?
    please explain in example if you don't mind.
    thanks<HR></BLOCKQUOTE>
    null

  • Encrypt / Decrypt Procedure in PL/SQL

    Hi,
    Is using WRAP the only way to Encrypt Stored Procedure Code in PL/SQL? The requirement is that for a Product Implementation, the client would be provided with code base and application owners do not wish to reveal the business logic embedded in the Stored Procedures & Packages.
    -Chinmay

    Thanks - will proceed with using WRAP then.
    By the way - I found a nice writeup on WRAP Utility - http://www.databasejournal.com/features/oracle/article.php/3382331
    ~Chinmay

  • Drag and Drop in Procedure Builder :-(

    Drag and Drop works in SQL Worksheet BUT it does not work in procedure builder :'-(
    It would be nice to have same feature working everywhere. The work around is first drag and drop table in SQL Worksheet to get syntax and then cutting and pasting it in procedure builder.
    Production ver
    Windows XP
    10g

    Just fixed this as well as the drop will drop the code where it is dropped instead of at the end or where the caret was when the drag started. Look for it when the first patch comes out.
    -kris

  • Decrypt the encrypted store procedure through the T-SQL programming in SQL Server 2005

    HI ,
    I have a encrypted store procedure in my production server .Right now I do not have the script now I want do some modification.
    Please any one can help me to decrypt the store procedure it will be a great help for me.
    For any suggestion thanks
     in advance.
    " Education is the beginning of transformation. Dedicate yourself to daily learning via Blogs/Forums/books and coaching "
    Click here to read my blog

    I have modified Jon's post so it also supports functions correctly, jon's version gave a syntax error on functions because the dummy func sql was invalid
    1. Connect using "admin:server\instance"  instead of "server\instance" (enable dac if you havent already, its an sp_reconfigure command)
    2. create the below proc
    3. exec SqlDecryptor 'dbo', 'function_or_stored_proc_name'
    ALTER -- CREATE
    proc SqlDecryptor (@objschemaname nvarchar(255), @objname nvarchar(255))
    AS
    DECLARE @objid INT,@objtype NVARCHAR(50),@objtypicalstm NVARCHAR(4000),@objencrypted BIT
    SELECT TOP 1 @objid=o,@objname = n,@objtype = t,@objtypicalstm=s,@objencrypted = (SELECT ([encrypted]) FROM syscomments WHERE [id] = x.o and colid = 1)
    FROM
    SELECT object_id o, name n,
    CASE WHEN [type] = 'P' THEN N'PROCEDURE'
    WHEN [type] = 'V' THEN 'VIEW'
    WHEN [type] IN ('FN','TF','IF') THEN N'FUNCTION'
    ELSE [type]
    END t,
    CASE WHEN [type] = 'P' THEN N'WITH ENCRYPTION AS'
    WHEN [type] = 'V' THEN N'WITH ENCRYPTION AS SELECT 123 ABC'
    WHEN [type] IN ('FN','TF','IF') THEN N' () RETURNS INT WITH ENCRYPTION AS BEGIN RETURN 1 END'
    ELSE [type]
    END s
    FROM sys.all_objects WHERE [type] NOT IN ('S','U','PK','F','D','SQ','IT','X','PC','FS','AF')
    AND name = @objname AND (SCHEMA_NAME([schema_id]) = COALESCE(@objschemaname,'dbo'))
    --UNION ALL SELECT object_id,name,'TRIGGER',N'ON ALL SERVER WITH ENCRYPTION FOR DDL_LOGIN_EVENTS AS SELECT 1' FROM sys.server_triggers WHERE name = @objname
    --UNION ALL SELECT object_id,name,'TRIGGER',N'ON DATABASE WITH ENCRYPTION FOR CREATE_TABLE AS SELECT 1' FROM sys.triggers WHERE name = @objname
    ) x
    --SELECT @objid,@objname,@objtype,@objtypicalstm,@objencrypted
    SET NOCOUNT ON
    IF @objencrypted <> 0
    BEGIN
    IF EXISTS
    SELECT * FROM sys.dm_exec_connections ec JOIN sys.endpoints e
    on (ec.[endpoint_id]=e.[endpoint_id])
    WHERE e.[name]='Dedicated Admin Connection'
    AND ec.[session_id] = @@SPID
    BEGIN
    DECLARE @ChunkNumber INT,@ChunkPiece NVARCHAR(MAX),@CompareChunksAtPosition INT,@DummyChunk NVARCHAR(MAX),@DummyObject VARBINARY(MAX),@EncryptedChunk NVARCHAR(MAX),@EncryptedObject VARBINARY(MAX),@p INT,@p1 NVARCHAR(MAX),@p2 NVARCHAR(MAX),@QueryForDummyObject NVARCHAR(MAX),@ReplacementText NVARCHAR(4000)
    SELECT @EncryptedObject = [imageval] FROM [sys].[sysobjvalues] WHERE [objid] = @objid AND [valclass] = 1
    BEGIN TRANSACTION
    SET @p = 1
    SET @p1= N'ALTER'+SPACE(1)+@objtype+SPACE(1)+ISNULL((@objschemaname+'.'),'')+@objname +SPACE(1)+@objtypicalstm;
    SET @p1=@p1+REPLICATE('-',4000-LEN(@p1))
    SET @p2 = REPLICATE('-',8000)
    SET @QueryForDummyObject = N'EXEC(@p1'
    WHILE @p <=CEILING(DATALENGTH(@EncryptedObject) / 8000.0)
    BEGIN
    SET @QueryForDummyObject=@QueryForDummyObject+N'+@f'
    SET @p =@p +1
    END
    SET @QueryForDummyObject=@QueryForDummyObject+')'
    EXEC sp_executesql @QueryForDummyObject,N'@p1 NVARCHAR(4000),@f VARCHAR(8000)',@p1=@p1,@f=@p2
    SET @DummyObject=(SELECT [imageval] FROM [sys].[sysobjvalues] WHERE [objid] = @objid and [valclass] = 1)
    ROLLBACK TRANSACTION
    SET @ChunkNumber=1
    WHILE @ChunkNumber<=CEILING(DATALENGTH(@EncryptedObject) / 8000.0)
    BEGIN
    SELECT @EncryptedChunk = SUBSTRING(@EncryptedObject, (@ChunkNumber - 1) * 8000 + 1, 8000)
    SELECT @DummyChunk = SUBSTRING(@DummyObject, (@ChunkNumber - 1) * 8000 + 1, 8000)
    IF @ChunkNumber=1
    BEGIN
    SET @ReplacementText=N'CREATE'+SPACE(1)+@objtype+SPACE(1)+ISNULL((@objschemaname+'.'),'')+@objname +SPACE(1)+@objtypicalstm+REPLICATE('-',4000)
    END
    ELSE
    BEGIN
    SET @ReplacementText=REPLICATE('-', 4000)
    END
    SET @ChunkPiece = REPLICATE(N'A', (DATALENGTH(@EncryptedChunk) / 2))
    SET @CompareChunksAtPosition=1
    WHILE @CompareChunksAtPosition<=DATALENGTH(@EncryptedChunk)/2
    BEGIN
    SET @ChunkPiece = STUFF(@ChunkPiece, @CompareChunksAtPosition, 1, NCHAR(UNICODE(SUBSTRING(@EncryptedChunk, @CompareChunksAtPosition, 1)) ^ (UNICODE(SUBSTRING(@ReplacementText, @CompareChunksAtPosition, 1)) ^ UNICODE(SUBSTRING(@DummyChunk, @CompareChunksAtPosition, 1)))))
    SET @CompareChunksAtPosition=@CompareChunksAtPosition+1
    END
    PRINT @ChunkPiece
    SET @ChunkNumber=@ChunkNumber+1
    END
    END
    ELSE
    BEGIN
    PRINT 'Use a DAC Connection'
    END
    END
    ELSE
    BEGIN
    PRINT 'Object not encrypted or not found'
    END
    SET QUOTED_IDENTIFIER OFF
    GO

  • Need sum help..........Regarding Oracle Procedure Builder

    hi,
    i wnt sum information abt oracle procedure builder.
    i m preparing for 1zo-047,n wnt oracle procedure builder 2 practice.
    cn ne1 plssssssssssss tel me whr shd i luk 4 it....
    i cd nt found dis s/z newhr on internet,i even dnt knw whether i hv 2 download it from internet or its already present in the sql plus.
    cn ne1 pls help me 2 resolve these queries.... its urgent....
    thnx in advance

    908759 wrote:
    its urgent....It is urgent that you learn some language skills.
    If you cannot express yourself with clarity and evidence of intelligence, then you will never get anywhere in life.
    It actually hurt my head to try to understand whatever you typed into that post.

  • Problem in connecting to local db in procedure builder

    I install oracle 8i for window 2000 personal edition in my local computer and also forms & reports 6i. I create a db during installing of oracle 8i. By using the sql worksheet I build up several tables. But when I try to use procedure builder in forms 6i to connect to my local data base, I can not. I do not know which userid and password and database name I should use. I tried scott/tigger or system/manager, all give me an error: can't find the service. Can somebody help me with the connection to my local database in the proceduce builder?
    thanks

    Hi,
    The Oracle database is resided in another server.
    Jo

  • Can I encrypt my procedures

    Hi friends,
    I am a new user of oracle. Is there a feature in oracle which enables me to encrypt my procedure. If so how can I achieve that.
    Thanks in advance
    Thanks
    Glady

    Is there a feature in oracle which enables me to encrypt my procedure.Why?
    Unless you have code that contains secrets (such as a decryption key), or have code running on a foreign system and want some form of IP right protection, encrypting your PL/SQL code makes very little sense.
    There have been quite a few posters here over the years, literally crying as they have encrypted their PL/SQL code in the database and lost the original copy of the code they had on disk. With encrypted code, you no longer can use the database as the container for the master or backup copy of that code.

  • Encrypt stored procedure

    Hi,
    How I can ENcrypt stored procedure in oracle?
    Thanks.

    One caveat that the documentation doesn't emphasize nearly strongly enough IMHO is the fact that there is no way to unwrap wrapped code, so you have to make sure that everything is in external source control.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Query builder, procedural builder - Oracle 8.17

    I'm running Oracle 8.17 and I can't find query builder, procedural builder, report builder form builder and other builders. Where can I get these? I tried the universal installer and there are no options to install them.

    Hi Fraser,
    Thank you for responding.
    I think I fixed that problem,actually there was a spelling
    mistake in one of the parameter files.
    But now I get another error message, says:
    "ORA: 02068: following severe error from MSOLEDB
    ORA: 28511: lost RPC connection to heterogenous
    remote agent using
    SID = (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)
    (HOST=LOCAL_HOST)(PORT=1521)))(CONNECT_DATA=
    (SERVICE_NAME=<SERVICE_NAME>)))
    Do I have to configure the SQL Server network utilities?
    I pinged both the servers ,they talk to each other.
    But when I use tnsping ,the client machine (i.e.,the SQL Server
    machine)talks to server(Oracle machine) but the server doesn't
    talk to the client.
    I am definitely not doing something right.
    Asha.

  • Procedure Builder 9i developer suite

    I have done a full install on my Windows 2000 machine, but can't find Procedure builder installed (or an option to install it). Does anyone know what I'm doing wrong?
    thanks, robin

    Nothing is wrong, it is simply not there. Check out the obsolesence paper on OTN.
    You can still debug and create stored procedure from within Oracle Forms.

  • Cant find Procedure Builder...?

    First of all, I am very new to this as if that isnt already apparent. I am following along in my PL/SQL book and got to the part where I am learning about procedure builder and I went to run it and it doesnt seem to be installed or included in what I am using. I downloaded 9i Database R2 Personal for Windows.
    I have searched a good bit but have not been able to come up with any info on procedure builder after release 6. Is it called something else now or am I just missing it?
    TIA!

    Firstly, they give different colours to keywords, strings, comments, variables etc. You can get add-ins to TextPad to do this.
    Secondly, compilation reports errors and attempts to pinpoint their location. Again, you can get line numbers in TextPad.
    I agree that SQL*Plus and Notepad is a hairs shirt combo, but TextPad is a much moe flexible tool.
    Why I prefer using TextPad and SQL*Plus rather than TOAD is that using TextPad forces me to work from scripts. This means I have an audit trail of the changes I've made, and a set of scripts to run whenever I need to recreate my work.
    Using TOAD's GUI to (say) add a column to a table is tremendously productive the first time you do it. What happens when you need to roll out that change to UAT? Well, assuming you documented the need to make the change somewhere, you have to find a form of words to explain the change to your less-than-friendly live systems DBA and hope they click on the correct icon. How much simpler it id to just hand them two scripts - one to add the column and another to remove it we should need to regress the release.
    Perhaps it is different for people who never make errors in their codeOn the contrary, it is precisely because I do make mistakes that I avoid using TOAD as an IDE for developing PL/SQL . TextPad and SQL*Plus (and poperly implemented source control - this is key) are the tools for me.
    Cheers, APC

  • Procedure Builder

    Does Procedure Builder 6.0 support debugging of PL/SQL TABLE
    type?
    null

    In first question I had ment Oracle 9i Developer Suit.
    9i Developer Suit (9iDS) does not include The Procedure Builder or I can't find it :-).
    I don't want to install Procedure Builder 6i.
    Is there planned new version of The Procedure Builder?
    Hello Can, e-mail adresin olmadigi icin buradan yaziyorum.
    Henuz bulabilmis degilim. 9iDS ile birlikte gelmedi. Eger istersen
    Internet Developer Suit 6i icerisinde geleni kullanabilirsin.
    Ben sistemde sorun yaratabilecegini dusunerek kurmak istemiyorum.
    Su an icin JDeveloper 9i'yi kullaniyorum. Istanbul'dan ve
    bogazdan sevgilerle...
    [email protected]

  • Procedure builder for 8i Personal

    Hi
    Had my 1070 training (PL/SQL) and want to prepare for exam.
    I downloaded (and installed) the 8i personal edition. Now there's no procedure builder included in this package, only SQL*Plus.
    Found out that ProcBuilder is included in the Developer package, so I downloaded this also.
    8i Personals Universal Installer is V 1.6.0.9.0. When You try to install additional Products with it, it wants You to search for "products.jar", which is nowhere to find in the developer temporary installation directory (created from the zip).
    So I ran setup from there (developer), and installed Procedure Builder only. I had to make another Oracle home, as he didn't let me install into d:\ora\ora81, so I made a d:\ora\orant. (A bunch of other stuff was installed also). Now I can start Procedure builder, but he doesn't connect (even when I type in exactly the same as in the SQL*Plus in my ora81 startgroup).
    Error: PDE-POC011 ORA -12154 Servicename could not be resolved (Additional error depoc4).
    What did I do wrong? (I had no dba training, so actually I'm in a blind flight, not knowing what actually I'm doing!)
    All I want is the environment as in the training room, where I can run SQL*Plus and procedure builder to train and learn what they told me there. I spent several days now, don't ask me for my phonecosts for downloading several houndred megs, as the CD I got in the training didn't work at all, and I had to remove everything several times manually (including registry) No idea what all I missed to remove.
    Any help possible with this sparse description?
    Thank's in advance
    Martin

    I already have Oracle 8.0 Personal Edition, and I can start that database without any
    password. But If I want to run SQL*Plus, then
    I use SCOTT/TIGER as username/password and that works fine. But with this newer version
    (Oracle 8i Personal Edition), I am having problem just starting the database.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by coolguy:
    Did you try the default one? Tiger
    <HR></BLOCKQUOTE>
    null

  • Procedure Builder in 9iDS

    Hi, I am looking for procedure builder in the Oracle 9i DS. Is there such a product? Has it been discontinued?
    Thank you, -Cecil

    Procedure Builder is no longer shipped as a stand alone product in Oracle9i Developer Suite.
    What do you want to do with it? If you are looking for a PL/SQL development/debugging environment you can use Forms or even JDeveloper -
    See : http://otn.oracle.com/products/jdev/htdocs/database/db_overview.html

Maybe you are looking for

  • Output Link and Command link problem

    I have this command link that I want to redirect to a certain url, a complete one with the Http://www.webpage.com.. and its value is Goto This Page.. lets say I want it to pass through a certain backing bean before redirecting how am i supposed to do

  • How to create parallel Diagonal lines easily in Photoshop?

    Hi All, I want to create some parallel but diagnol lines easily in photoshop or illustrator. A easy to follow tutorial will be fanastic. Please help me. Thanks in advance.

  • How to Burn 2nd Disc Quickly?

    In Encore CS4 I transcoded my HD video and burned a Blu-ray disc all in one step by selecting "Build". It took 27 hours. To burn a 2nd disc I selected "Build" again and it took 3 hours. That's good. I tried it again with another project, but burned t

  • How to check file if opened in local PC?

    Dear exports: I have met one problem in deal local excel file. By user request , we need check if the file which we will use later is oepned . I have find the help  in the web , but seems not suit me require . Some functions  FM EPS_OPEN_INPUT_FILE o

  • AFS-BW Report on Multi Store Orders (MSO)

    Hi Everyone, We have a Sales Doc Type "ZMSO" Multi Store Order and when exploded creates many "ZSSO" Single Store Orders. In my BW report i need to show all Unexploaded Multi Store Orders (ZMSO) Quantity and Value. But in my Sales Cubes i dont find M