SQL IMPORT ..... ACROSS - need help

I can't find any examples on how to use the "ACROSS" feature of the SQL IMPORT command.
I have a cursor defined as follows:
SQL DECLARE csrData CURSOR for -
select replace(vchAccount,':','_'),replace(vchEntity,':','_'),'U','NETINCOME','YR05',sum(myAmount1),sum(myAmount2),sum(myAmount3),sum(myAmount4),sum(myAmount5), -
sum(myAmount6),sum(myAmount7),sum(myAmount8),sum(myAmount9),sum(myAmount10),sum(myAmount11),sum(myAmount12) -
from xxwhbat.tblBCPOut215 -
where iYear=2005 -
group by vchAccount,vchEntity
SQL OPEN csrData
I am then trying to load each of the sums to a variable where the first sum should go to January in my TIME dimension, and the last sum should go to December in my time dimension. It appears that I have to have something like below, however, I don't know what "SOMETHING!" should be.
SQL IMPORT csrDATA INTO -
:APPEND D.ACCOUNT -
:APPEND D.ENTITY -
:APPEND D.AFFILIATED -
:APPEND D.OPINCOME -
:APPEND YR -
THEN ACROSS TIME: v.fcstdata=SOMETHING!!!
Any help would be appreciated.

That works, but is not the answer I am looking for. I want to understand how to use the across part of the SQL IMPORT statement. The documentation has no examples, and I cannot find any examples anywhere.
Besides, if I was building a generic data loader (my end goal), that read tables to decide what the query was going to look like to run, and what periods would be loaded, I would need to use "across" so that I don't have to hardcode the time periods.
For the past several years we have had many OFA implementations. One of the problems with it has always been this Year/Time combination, making it very difficult to create non-hardcoded reports/data entry forms. Models and programs that work with status always have to either disect the time values in status, or relate it to a relation to do some special processing based on year. In addition, when we started evaluating AW's, we found that with our data, separating year from time increased performance of our calculations.
Thanks

Similar Messages

  • Sql injection attack - need help changing ASP code

    Our web server was attacked yesterday by SQL injection. So I
    quickly learned about the holes in the code that was generated by
    Dreamweaver MX 2004.
    I found the help article on the Adobe website to fix the ASP
    code; however I need more information for my particular case. I
    don't know how to get my cursor type and location settings into the
    new code.
    MY ORIGINAL CODE
    <%
    Dim Recordset1
    Dim Recordset1_numRows
    Set Recordset1 = Server.CreateObject("ADODB.Recordset")
    Recordset1.ActiveConnection = MM_Oncology_STRING
    Recordset1.Source = "SELECT * FROM dbo.Oncology_Dir WHERE
    Oncology_ID = " + Replace(Recordset1__MMColParam, "'", "''") + ""
    Recordset1.CursorType = 0
    Recordset1.CursorLocation = 3
    Recordset1.LockType = 1
    Recordset1.Open()
    Recordset1_numRows = 0
    %>
    THE NEW CODE, WHICH NEEDS TO BE FIXED TO REFLECT CURSOR TYPE
    AND LOCATION ABOVE.
    <%
    Dim Recordset1
    Dim Recordset1_cmd
    Dim Recordset1_numRows
    Set Recordset1_cmd = Server.CreateObject ("ADODB.Command")
    Recordset1_cmd.ActiveConnection = MM_Oncology_STRING
    Recordset1_cmd.CommandText = "SELECT * FROM dbo.Oncology_Dir
    WHERE Oncology_ID = ?"
    Recordset1_cmd.Prepared = true
    Recordset1_cmd.Parameters.Append
    Recordset1_cmd.CreateParameter("param1", 5, 1, -1,
    Recordset1__MMColParam) ' adDouble
    Set Recordset1 = Recordset1_cmd.Execute
    Recordset1_numRows = 0
    %>
    What exactly is the 5,1,-1 in the code above?
    Any help would be very much appreciated as my ASP page
    (although secured from SQL injection) is not working properly.
    Thanks,
    --Jen
    --Jen

    The new snippet is not vulnerable to SQL injection. It uses a
    command
    object and actual defined parameters, so you're safe. You
    cannot change the
    cursor type or location on that object.
    "jennday" <[email protected]> wrote in
    message
    news:f85omh$ngg$[email protected]..
    > Our web server was attacked yesterday by SQL injection.
    So I quickly
    > learned
    > about the holes in the code that was generated by
    Dreamweaver MX 2004.
    > I found the help article on the Adobe website to fix the
    ASP code; however
    > I
    > need more information for my particular case. I don't
    know how to get my
    > cursor type and location settings into the new code.

  • Just downloaded SQL Developer today, need help copy data

    How do I import data from Oracle XE to an Oracle server by using SQL Developer?

    Probably a better option would be use the export and import utilities provided with the database.
    From within SQL*Developer you can export data as either a csv file (and then use sql*loader to load it), or as insert statements which you can run in in either sql*developer or sql*plus.
    To export data in sql*developer, right-click on a table or a result set.
    Search for Export Table Data in the help system

  • Documaker 12.1 - ODBC - SQL Setup Error - Need  Help

    Hi
    We are facing issues while trying to checkout/read the resources from the SQL tables. We are getting an error "An error occured getting the file". We use "ODBC" driver for connecting to SQL database and the ODBC test connection seems to run succesfully. This doesn't seems to be a connectivity issue as we are able to see that the resources are listed in IDE.
    Studio somehow is not able to read/load the data from the application data table. Do we need to set-up any access privileges for the database and tables to enable the DMStudio to access it.
    Thanks in Advance.

    Hi,
    When you run the Create New Workspace wizard in Documaker Studio and select your DBMS type it tries to deploy the tables through our ODBC connection.
    If successful it will then create the workspace with some minumum resources and query for other info like Font Cross-reference file, etc. and when done you have a complete workspace which includes INI, DFD configuration files specific to your choice of DBMS type. This workspace and it configuration files (e.g. fsiuser.ini, fsisys.ini, deflib\carfile.dfd, etc.) are needed for access to the workspace properly.
    If the wizard is unsuccessful (for reasons such as permissions, access, etc.) it will let you generate a DDL and pass it off to the qualified personnel but it expects you to either leave the studio running and continue from there or to re-run the create workspace to complete the task and configuration. If you stop at the DDL stage and don't complete the task but try and use internal defaults for the configuration files the resource may appear to deploy but they will not load upon studio preview or attempt by the publishing engine to process with them because the internal configuration does not use the appropriated datatype for the database. This situation would be classified as improper or incomplete workspace creation.
    I suspect you hit this problem. Going back and configuring a workspace to just talk to the database is not appropriate and can have undefined results.
    Hope this helps,
    -Steve

  • Import/export--need help gurus!!!!!!

    C:\DOCUME~1\ADMINI~1>set oracle_sid=orcl
    C:\DOCUME~1\ADMINI~1>expdp scott/tiger directory=orcl_exp_datapump schemas=scott
    Export: Release 10.2.0.1.0 - Production on Tuesday, 12 February, 2008 19:35:34
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Starting "SCOTT"."SYS_EXPORT_SCHEMA_01": scott/******** directory=orcl_exp_datapump schemas=scott
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 32.62 MB
    Processing object type SCHEMA_EXPORT/USER
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type SCHEMA_EXPORT/TABLE/COMMENT
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    . . exported "SCOTT"."SYS_EXPORT_FULL_02" 7.628 MB 12224 rows
    . . exported "SCOTT"."SYS_EXPORT_FULL_03" 7.670 MB 12231 rows
    . . exported "SCOTT"."SYS_EXPORT_FULL_01" 7.080 MB 9573 rows
    . . exported "SCOTT"."SYS_EXPORT_TABLESPACE_01" 255.8 KB 318 rows
    . . exported "SCOTT"."DEPT" 5.656 KB 4 rows
    . . exported "SCOTT"."EMP" 7.820 KB 14 rows
    . . exported "SCOTT"."SALGRADE" 5.585 KB 5 rows
    . . exported "SCOTT"."TESTDEPT" 5.726 KB 7 rows
    . . exported "SCOTT"."BONUS" 0 KB 0 rows
    Master table "SCOTT"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
    Dump file set for SCOTT.SYS_EXPORT_SCHEMA_01 is:
    C:\ORCL_EXP_DATAPUMP\EXPDAT.DMP
    Job "SCOTT"."SYS_EXPORT_SCHEMA_01" successfully completed at 19:37:35
    C:\DOCUME~1\ADMINI~1>impdp abc/abc directory=orcl_exp_datapump dumpfile=expdat.dmp remap_schema=scott:abc
    Import: Release 10.2.0.1.0 - Production on Tuesday, 12 February, 2008 19:43:48
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ORA-31626: job does not exist
    ORA-31633: unable to create master table "ABC.SYS_IMPORT_FULL_05"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPV$FT", line 863
    ORA-01031: insufficient privileges
    Any advise is appreciated!
    trying to import from scott schema to abc schema....but unsuccessful.
    DBA creates directory
    grants permission on the directory to scott and abc schemas
    exports scott schema (userid/password.....scott/tiger)
    imports to abc schema(userid/password....abc/abc)
    is this the right way?
    i need some assistance guys!!!!!!
    Message was edited by:
    oracle novice
    Message was edited by:
    oracle novice

    Please check the following minimum requirements are met;
    -CREATE SESSION
    -CREATE TABLE
    -object privileges READ and WRITE on the directory
    -sufficient tablespace quota on default user's tablespace
    Additionally the role IMP_FULL_DATABASE is needed:
    -to run an Import DataPump job that imports a different schema.
    These requirements apply to the user connected to the database while preforming Import Datapump Job.
    Additionally review Oracle Metalink Document: Export/Import DataPump: The Minimum Requirements to Use Export DataPump and Import DataPump (System Privileges Doc ID: Note:351598.1
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:5033277956381036007::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,351598.1,1,1,1,helvetica
    Adith

  • ECommerce Product Import Issue - Need HELP!!!!

    I'm trying to import 899 products into the ecommerce module but it's taking 6+ hours and I never get a completion message.  The import shows as in progress and products do get added/updated but it takes a very long time and I never get a completion message.  Any ideas on why this is happening and how to speed it up?

    Hi,
    Try splitting up the import into 400 items or less to see if this helps improve your experience. 
    If still having troubles I would suggest submitting a ticket (attach the import file in question) to us ASAP as it should only take less than a minute per import.
    - http://helpx.adobe.com/business-catalyst.html (Contact BC Support)
    Kind regards,
    -Sidney

  • Cannot Migrate SQL Server Adventureworks Need Help

    Has anyone been able to migrate Adventureworks from SQL Server 2005 to Oracle? I've been trying but keep getting errors in the "Build" step.
    I would appreciate any help.

    The AdventureWorks example database in SQL Server relives heavily on the XML syntax within their stored procedures, functions, views. AdventureWorks example database was written to showcase new features of SQL Server 2005.
    XML syntax is not currently handled by the T-SQL Translator, as for our initial releases we want to concentrate more on the more widely used syntax.
    If your own database relies heavily on XML syntax then you will have to manually modify those statements.
    If on the other hand your just trying out the SQL Developer Migration Workbench can I suggest using the Northwind example database.
    Regards,
    Dermot

  • No sound when importing..need help urgent

    ok im not sure if this is the right place, but i am borrowing a macbook from a friend so i can burn my recruitment tapes for soccer. im using imovie hd 6.o.3 (267.2). i have 90% of one game on one dvd and 10% on a different dvd. well thats not my problem, my problem is that there is no sound after i import them to edit to make one tape. I have tried importing through imovie and by ripping the dvd to my external hard drive first, then importing and still no sound. how can i get sound? also is there a way that i can burn the final dvd with my pc using nero 6 ot 7 or some other software? this way i can burn two dvds at once one with my pc and one with the laptop. if there is something im missing when im first importing please tell me. please help.
    F.B.

    Hi p
    There are lot's of things about going from DVD to an editable file format
    for eg. iMovie. I use Handbreak 0.7.1 but the best and simplest way is to
    connect a miniDV Camera to a stand alone DVD player and copy.
    This gives in my cases - best result
    Easy to do
    Easy to use the tapes in iMovie.
    Yours Bengt W

  • IMPORTANT! NEED HELP ASAP!

    My account has been recovered by someone else. l can't get it back for now an support chats are down. I need my skype locked RIGHT NOW! As I have a lot of personal info on there such as drivers license, bank information, card info. 
    PLEASE HELP ME OUT, I'll be able to verify everything but I don't feel safe putting it out here, if someone could please lock my account it'd save me from a lot of damage.
    skype name: [Removed for privacy.]
    Thanks so much.

    Hi, xl_possy, and welcome to the Community,
    Please see these FAQ articles for instruction and next steps:
    https://support.skype.com/en/faq/FA10920/what-can-​i-do-if-someone-has-taken-over-my-account
    https://support.skype.com/en/faq/FA34505/what-do-i​-do-if-my-skype-account-has-been-hacked
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • SQL Experts I need help!!

    I am trying to write a query that gives me a size summary of all the tables and indexes in my schema. I know this information can be obtained from USER_SEGMENTS, but I am having trouble structuring the query the way I would like. I would like the output of the query to be the following:
    TABLE_NAME INDEX_NAME SIZE
    TABLE_1............................... 50
    ................INDEX_TABLE_1_A....... 25
    ................INDEX_TABLE_1_B....... 30
    (sub_total)........................... 105
    TABLE_2.............................. 100
    ............... INDEX_TABLE_2_A...... 55
    ................INDEX_TABLE_2_B...... 50
    ................INDEX_TABLE_2_C...... 60
    (sub_total)......................... 265
    etc.........
    As you can see I want it so that the query groups the indexes with the tables and then provides the total space consumed by each table and its indexes. I have tried many different methods to get these results to no avail. If anyone could give me some ideas I would greatly appreciate it.
    PS I cannot use SQL*PLUS BREAK command
    Message was edited by:
    user616091

    Well since you can't use break you could probably use this:
    select table_name, index_name, nvl(blocks, tot) blocks
    from (
      select ord, table_name, index_name, blocks,
             sum(blocks)
             over (partition by table_name
                   order by null
                   rows between unbounded preceding and unbounded following) tot
      from (
          select 1 ord,
                 nvl(table_name,segment_name) table_name,
                 nvl2(table_name,segment_name,null) index_name,
                 blocks
          from user_segments left join user_indexes on index_name = segment_name
        union all
          select 2 ord,
                 segment_name table_name,
                 'Total' index_name,
                 null
          from user_segments
          where segment_type='TABLE'
          and exists (select 1 from user_indexes where table_name = segment_name)
    order by table_name, ord, index_name nulls first;

  • Simple SQL query..need help

    Hi All,
    I have a requirement not to show the row, if all columns value is zero. Could someone help me how to do it?
    For example:
    A     B     C   D    E
    1 1 5 1 2
    1 0 5 0 2
    0 9 7 1 0
    0 0 0 0 0
    From the above example the only last row should not be shown, because all columns value is zero.
    Thanks in advance.

    Another way:
    with abc as (select 1 a, 1 b, 5 c, 1 d, 2 e from dual union all
                 select 1 a, 0 b, 5 c, 0 d, 2 e from dual union all
                 select 0 a, 9 b, 7 c, 1 d, 0 e from dual union all
                 select 0 a, 0 b, 0 c, 0 d, 0 e from dual union all
                 select null a, 0 b, 0 c, 0 d, 0 e from dual)
    select a, b, c, d, e
    from   abc
    where  (nvl(a, 0), nvl(b, 0), nvl(c, 0), nvl(d, 0), nvl(e, 0)) not in (select 0,0,0,0,0 from dual);
             A          B          C          D          E
             1          1          5          1          2
             1          0          5          0          2
             0          9          7          1          0

  • Sql query tunning, need help!

    below is the sql that runs very very slow:
    SELECT h.STAT_HIST_ID, h.WF_ACTN, h.USR_ACTN,
          h.WF_CHNG_DATA, h.USR_CHNG_DATA, h.PRCSG_TM, h.UPD_LOGIN, h.UPD_DT,
          RTRIM(c.LAST_NM || ', ' || c.FIRST_NM || ' ' || c.MIDDLE_INITIAL)
          FROM WF_STAT_HIST h, CSE_USER_DATA_VW c WHERE h.WRK_ITM_ID = 'GT1MPTG01ATBZP'
          AND h.UPD_LOGIN = c.USER_NM (+) ORDER BY h.UPD_DT ;Here is its index:
    all_indexes:
    SCGDBA     WF_STAT_HIST_INDX_ARCH     NORMAL     SCGDBA     WF_STAT_HIST     TABLE     NONUNIQUE     DISABLED          IMS_I
    SCGDBA     PK_WF_STAT_HIST     NORMAL     SCGDBA     WF_STAT_HIST     TABLE     UNIQUE     DISABLED          SCG_I
    SCGDBA     WF_STAT_HIST_IDX1     NORMAL     SCGDBA     WF_STAT_HIST     TABLE     NONUNIQUE     DISABLED          SCG_I
    all_ind_columns:
    SCGDBA     WF_STAT_HIST_INDX_ARCH     SCGDBA     WF_STAT_HIST     ARCHIVEDT     1     7     0     ASC
    SCGDBA     PK_WF_STAT_HIST     SCGDBA     WF_STAT_HIST     STAT_HIST_ID     1     22     0     ASC
    SCGDBA     WF_STAT_HIST_IDX1     SCGDBA     WF_STAT_HIST     WF_ACTN     1     50     50     ASC
    SCGDBA     WF_STAT_HIST_IDX1     SCGDBA     WF_STAT_HIST     USR_ACTN     2     50     50     ASCHere is its explain plan:
    Plan hash value: 479056202
    | Id  | Operation           | Name             | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT    |                  |   216 | 30456 | 70864   (2)| 00:14:11 |
    |   1 |  SORT ORDER BY      |                  |   216 | 30456 | 70864   (2)| 00:14:11 |
    |*  2 |   HASH JOIN OUTER   |                  |   216 | 30456 | 70863   (2)| 00:14:11 |
    |*  3 |    TABLE ACCESS FULL| WF_STAT_HIST     |   216 | 24840 | 70857   (2)| 00:14:11 |
    |   4 |    TABLE ACCESS FULL| CSE_USER_DATA_VW |  1013 | 26338 |     6   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access("H"."UPD_LOGIN"="C"."USER_NM"(+))
       3 - filter("H"."WRK_ITM_ID"='GT1MPTG01ATBZP')Could you guys take a look and tell me what the problem might be?
    I can`t give you TKPROF, because I got no access to that trace files!
    Any thoughts would be appreciated:-)
    Edited by: PhoenixBai on Sep 27, 2009 3:13 PM

    Pl post the output of the following
    select count(*) from wf_stat_hist;
    select count (distinct wrk_itm_id) from wf_stat_hist;
    select count (distinct upd_login) from wf_stat_hist;Your code is performing poorly because your WHERE clause is searching on a column on WF_STAT_HIST that is not indexed. Hopefully the output of the above code will determine which column (WRK_ITM_ID or UPD_LOGIN) is a better candidate to be indexed on. If neither of these columns is a good candidate, you may have to change the WHERE clause to be more selective rather than do a full table scan as the plan indicates.
    HTH
    Srini

  • Giving error in pl/sql while truncating need help

    Hi Gurus,
    I have a procedure to execute 5 truncate statements which is oftenly giving the error like "resource busy and acquire with nowait". I do not know the root cause of this. I tried with changing the scheduling time for that procedure eventhough it is giving the same error. Please suggest me. Advance Thanks.

    Simple answer, some other process has a lock on the table and you are not allowed to truncate the table.
    You can search the forum for the script to see who/what has the lock on the table. Here is one:
    Table locks
    There are a ton of threads related to like issues if you search for them.

  • Important: I need help please

    Hi guys,
    I have bought a geforce 4 Ti 4200 VTD 8X 128 MB DDR 4 months ago. I really love it and don't want to mess up any part of my Pc by over clocking etc. SO I never overclock my video card.
    Now the issue is:
    1) Today I installed MSI 3d experience to know the temp of my AGP card.
    2) It gave me some initialization error.
    3) I found a latest version of the program at the site and downlaoded and installed it.
    4) It said " WIndows is trying to close this window! Yes or no"
    5) If no, the readings show nothing, like the clock speed etc it shows "NaN" and no readings at all except the middle movie keeps playing nothing else actually works.
    6) After trying it a couple of times I uninstalled it.
    Now the question is:
    1) Could 3D experience have messed up my clock speed etc..since it gave "NaN" in that circle.
    2) I am also using the latest Nvidia drivers off the nvidia website.
    3) Has anyone else faced this problem.
    4) Can it be solved.
    5) Earlier version of drivers used to give a tab in display panel where u can see the core clock etc. But now the latest Nvidia driver doesn't give that.
    6) Is there anywa I can check my core clock and other clock speed.
    Thanx in advance.

    Thanx for replying soon.
    But can u just please tell me the info:
    1) Since I tried accessing the 3d turbo exp and that nvclock.dll error will it affect anything even after I uninstall the 3d turbo experience.I hope it doesn't make any changes to the clocks.
    2) I really don't ever want to overclock my geforce 4 becos I really want it to last long.
    Can u please tell me that based on my entire posts will that file affect any of the default values. And will the error be solved by just uninstalling the 3d exp.
    Becos I saw a post above that said I have to download a file and remove some other driver to make the clocking work. I really don't want to risk doing any of that.Becos my computer was messed up nearly 6 times by my experiments.
    I just want to know if my Geforce will still be at its defaults speed i.e., if I remember core clock 233 and some other clock 513.

  • How can I stop Crystal reports from locking tables in our SQL db?  PLEASE HELP!!!

    Post Author: kevans
    CA Forum: Data Connectivity and SQL
    I really need help with this and so far I've had no luck finding a solution on Crystal's knowledge base, forums our even outside of this site.
    I recently upgraded from crw8 to crw10 and of course after converting reports and placing them into production I now discovered that crw10 will place locks (blocking) on the SQL tables it is using.
    Is there a setting in crystal so I can turn this off?  Someone said I can use a statement like ... "with (nolock)"  but I can't seem to figure out the correct syntax to use, I'm not even sure if this works since I can't find info on it.  I desperately need help!!!
    Example - if this is my select statement how would I add the "nolock" to it?
    (DateTimeToDate (PDMTimeToDateTime ({call_req.open_date})) >= {?Starting Date}) AND   (DateTimeToDate (PDMTimeToDateTime ({call_req.open_date})) <= {?End Date}) AND    (if {?Select_Group} <> "ALL" then {ca_contact.last_name} = {?Select_Group}         else if {?Select_Group} = "ALL" then true) AND            {call_req.type} = {?Type}

    Post Author: sharonmtowler
    CA Forum: Data Connectivity and SQL
    no lock is used in the sql stored procedure. i believe you can look at your sql statement in the report and place the nolock(prior to the table name)
    the only problem with this is you may get dirty data. most sql developers dont recommend it especially with real time data.

Maybe you are looking for