Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: PCStorm
  • Content: Threads
  • Order by date
  1. PCStorm

    DBMS_DATAPUMP

    The command line expdp allows for not exporting grants (as did exp). However, I cannot get that feature to work with the APIs. Has anyone done this with the API?
  2. PCStorm

    DBMS_SQLTUNE ORA-00942 Error

    Executing the equivalent of SELECT DBMS_SQLTUNE.report_tuning_task('SQL TASK') FROM dual It produces the general information section; the SQL ID; the actual statement and then generates an Error Statement. ORA-00942 Table or View does not exist. I trapped for the error and the trace...
  3. PCStorm

    Cursors INSENSITIVE versus FAST_FORWARD

    I several did timings of these two options for cursors and found INSENSITIVE consistently faster, which surprised me. Does anyone have any experience with the INSENSITIVE option and it ability to scale. It appears to have a higher usage of TEMPDB space which is a concern in our environment.
  4. PCStorm

    CPU pegged at 100% with large # deadlocked processes

    We have a production system where the CPU was pegged at 100%. When I analyzed the saved data (sysprocess and profiler results) it appeared that at the start of the high CPU usage there were quite a few deadlocked processes (6+). But why would this cause the high CPU usage? It would seem that...
  5. PCStorm

    Sysprocesses CPU time measurement

    We have two processes going, one polls sysprocesses and the other is sysprofiler. Both have measurements for CPU usage in milliseconds. According to documentation CPU usage on sysprocesses is a cummulative total. However, we are seeing CPU milliseconds in the sysprocesses for a SPID that are...
  6. PCStorm

    Calling all SQL Gurus Return the years between two dates

    We have a need to, with a query, to return the number of rows into a report that represent the number of years between two dates. So, we have a start date of 1/1/1999 to 1/1/2004 and we would need a row for 1/1/2000 and 1/1/2001 and 1/1/2002 and 1/1/2004. Anyone know how to do this without an...
  7. PCStorm

    DATEADD to add a 'REAL' Month not 30 days

    DATEADD(MONTH,1,'6/30/99') returns 7/30/99 I want it to return 7/31/99. If the date is 6/15/99 I would want it to return 7/15/99 (which it does). Please, any ideas of what to do here?
  8. PCStorm

    Functions in 7.0 -- do they exist at all? A way around it

    We were on a tight deadline, the customer gave me MSSQL 2000 to develop on. Now they say they need all of the procedures / functions etc in MSSQL 7. It has been a while since I developed in 7.0 BUT I am not seeing the capability for creating functions. Is that really true? MSSQL 7.0 did not...
  9. PCStorm

    Calling Proc from C++ code does not wait for procedure to end

    Basically we have some stored procedures being called from C++ code. The procedures gather data and populate tables against which a report will be run. But the C code returns immediately without waiting for the results. Any ideas? Thanks.
  10. PCStorm

    I am doing a simple function with a

    I am doing a simple function with a cursor. I declare the cursor, open the cursor, fetch the cursor. And it compiles fine. I add an if statement right after the fetch and the compiler says error at THEN. I tried different ifs, and different statements within the if. It does not like anything. I...
  11. PCStorm

    SQL Anywhere 5.5.0 NEED an Alternative to ISQL

    I need to write some stored procedures against this version of SQL Anywhere. It comes bundled with Sybase Central which has ISQL as an interface (if you can call it that). It is no way of trying to develop complex stored procedures. I tried a couple of ODBC based interfaces (including mySQL and...
  12. PCStorm

    Encrypting Stored Procedures AND the script file

    Sure, I know we can encrypt by saying CREATE PROCEDURE with ENCRYPTION. But what about the file we load from at a customer site. What good is the encrypted procedure if the file we use to create the procedure is not encrypted. Is there an easy way to do this? I tried encrypting and then...
  13. PCStorm

    User Interface for Stored Procedure Report

    I wrote a series of stored procedures that create tables to be reported against. We have used Crystal reports as an interface. But I am not happy with the way the user has to input parameters and the limitations. Was thinking of doing a VB interface to Crystal. Anyone has some better ideas? I...
  14. PCStorm

    8.0.5 PRAGMA restrict_references problem

    All of the following works without a problem on 8i (8.1.7). However, I need it to work in our 8.0.5 database. Function Prototype in package header: FUNCTION Return_Factor ( Date_One DATE, Date_Two DATE, Date_Compare DATE, Compare_type VARCHAR2 ) RETURN...
  15. PCStorm

    How to Force Oracle to use the Index without /*+ rule */

    I created a unique index to get a query to run faster. The explain plan is fine in most databases after the index is created. Query goes from two minutes to 1 second. However, the database I really need it to work in will not use the index without the /*+ rule */ hint in the Select. We are...
  16. PCStorm

    Objects -- Missing Right Parenthesis RUNTIME Error

    I am getting a RUNTIME error when using objects "Missing right parenthesis". We have run this in a different version installation of Oracle (8i) without a problem. But the newly installed oracle8 enterprise edition is giving us a problem. Oracle support closed the support track saying...

Part and Inventory Search

Back
Top