How to get SQL statements into SE16

Does anyone know if there is a way in SE16 to get several records for a single Objid?  I do not know the objid but I do know the objid has two records with one having a field1 value of 0001 and the other 0002.  I want to return both records
This is what the SQL would look like but I'm not sure how I would do in SE16?
Select * from hrp5122
where posting_channel = 0001
and    posting_channel = 0002
Thanks!

In the selection screen of SE16, click on the icon on the most right at line POSTING_CHANNEL. You can enter multiple values, ranges and also exclude single entries there.
Florian

Similar Messages

  • How to get SQL statement from (Collection) query.execute();

    We have a JDO Persistence class ClassName that execute query using following code. After this statement get executed, record does not get updated in the DB. Is there a way to check what SQL statement got submitted in the (Collection) query.execute(); ??? <br><br>
    Extent extent = pm.getExtent(ClassName.class, false); <br>
    Query query = null; <br>
    try { <br>
    query = pm.newQuery(extent, filter); <br>
    Collection results = (Collection) query.execute();<br>
    Iterator i = results.iterator();<br>
    if (i.hasNext()) {<br>
    ...<br>
    }<br>

    You can always find out the names of tables that are views, using java.sql.DatabaseMetaData and its getTables() method.
    This tends to be a nice source of examples:
    javaalmanac.com
    However, if you're asking for the underlying SQL used to CREATE VIEW, I don't see anything in the API that will give you that. After all, JDBC shouldn't have to know if it's dealing with an ordinary table or a view. I think you'd have to ask your DBA for the underlying SQL.
    Once you have it, what do you plan to do with it?
    %

  • I have purchased Adobe XI Pro and created a form for entering bowling scores to submit to newspaper for my high school team.  I can not figure out how to get pdf's into my documents folder on my iPad so that I can access the files in bowling alleys where

    I have purchased Adobe XI Pro and created a form for entering bowling scores to submit to newspaper for my high school team.  I can not figure out how to get pdf's into my documents folder on my iPad so that I can access the files in bowling alleys where I do not have a Wi-Fi connections.  I need to be able access files without going to acrobat.com.  Help!!!@

    Post the PDF files to a web site. The browse to them in Safari on the iPad.  When you Open the files specify the Open to occur in Adobe Reader.  Then you can have/Save them in your Documents folder on the iPad.   An iPad has limited access to files otherwise.

  • I update my IPhone4 to IOS6 from IOS4.3.3. My all songs are missing in the Iphone4. How to get those songs into my Iphone from ITunes. Even after sync also not coming to IPhone.

    I update my IPhone4 to IOS6 from IOS4.3.3. My all songs are missing in the Iphone4. How to get those songs into my Iphone from ITunes. Even after sync also not coming to IPhone.

    The iphone is not  storage/backup device.
    The sync is one way - computer to iphone.
    The only exception is itunes purchases.  File>Devices>Transfer Purchases
    You should copy everything from your old computer, or your backup copy of your old computer, to your new one.

  • New document alert: How to get PDF documents into Adobe Reader for iOS

    Opening PDF Files in Reader for iOS (iPhone and iPad) has been very helpful to many users of Adobe Reader for iOS.  However, Apple has drastically changed the user interface in iOS 7, which made the original document obsolete. 
    According to Apple Developer Support's App Store Distribution page, 89% of devices connected to the App Store are using iOS 7 during a 7‑day period ending June 29, 2014.
    Because of the exceptionally high iOS 7 adoption rate, Adobe Reader for iOS version 11.3 now supports iOS 7 only.
    Here are the new How-To documents for iOS 7.
    How to get PDF documents into Adobe Reader for iOS (iPad on iOS 7 version)
    How to get PDF documents into Adobe Reader for iOS (iPhone on iOS 7 version)
    (It had to be split into two separate documents because each contains way too many screenshots.)
    Hope these documents are as helpful as the original one.
    Please let us know if you have any feedback or suggestions on the topics for other help documents/tutorials.

    Dennis (or any Adobe rep),
    Any updates to the OP's question? I'm with a large government agency, and we're moving away from GoodReader for reasons I can't go into here, and the ability to add user-defined bookmarks within the app is a mandatory feature for the document reader we select. I have the latest version of Adobe Reader (11.6.1) installed on my government iPad, and the ability to add user-defined bookmarks still seems to be missing. Does Adobe have any plans to add this feature, or is it already present and I'm simply overlooking it?
    Thanks,
    Cam

  • How to find sql statement with Unix process pid

    Hi
    how to find sql statement with Unix process pid
    is there any view to find that.
    please if so let me know
    Thanks in advance

    this is how I am doing this:
    oracle 7352340 7459066 0 07:47:10 - 0:00 oracleJDERED (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oracle 7459066 5386396 2 07:47:10 pts/1 0:01 sqlplus
    select sid,serial# from v$session where process='7459066';
    SID SERIAL#
    2178 6067
    select sql_text
    from
    v$sqlarea a,
    v$session b
    where a.hash_value = b.sql_hash_value
    and b.sid = 2178
    ;

  • How to get quicktime movie  into FCP X?

    how to get quicktime movie  into FCP X?

    What exactly are you trying to do that using the import files function won't accomplish?
    Russ

  • HELP!! How to get iTunes songs into Rezzila

    Im trying to get a song from iTunes into Rezilla. I've tried looking for a program that will convert it into SND, but without money, i'm outta luck. So i've resorted to getting the song out of my iTunes library by using HEXADECIMALs! Since I've never used hexadecimals, I have no past skill or even how to use it. I was wondering if it was even possible and or if it is even possible. But if it is Please email me or leave a comment on how to get this song into REZZILA.
    Thanks,
    Rob

    Rezilla, unless there's another program by the same name, is an editor for the resource and data forks of a file, and as such can have no use with an iTunes track (none I know of, anyway). It certainly cannot convert an audio track to some other audio format. Nor can you convert a track from one format to another by going into the track file with a hex editor; it just not possible.
    I'm not aware of a free converter than can output SND files unless ffmpeg can.

  • How to Capture  sql statement

    we have 1 server oracle and many clients.
    when client sends sql statement to server.How to Capture sql statement to analysis berfore it sent to server and execution.
    Edited by: 955185 on Aug 27, 2012 4:22 AM

    955185 wrote:
    yes. how to do this?Check these link all of them talking about Already executed sql in database by Users , but i don't know if what you ask is possible since they already connect to database
    If you attending to analysis sql read the below links and start your analysis,
    Last executed sql
    http://www.databasejournal.com/features/oracle/article.php/3373701/Watching-SQL-Execute-on-Oracle---Part-I.htm
    http://stackoverflow.com/questions/55899/how-to-see-the-actual-oracle-sql-statement-that-is-being-executed

  • How to get sql server performance counters using query?

    Hai i want to see my sql server performance counters like, Full Scans/sec,  Buffer
    Cache Hit Ratio,  Database Transactions/sec, User
    Connections, Average Latch Wait Time (ms), Lock
    Waits/sec, Lock Timeouts/sec, Number
    of Deadlocks/sec, Total Server Memory, SQL
    Re-Compilations/sec, User Settable Query. If any one know how to get it by using query means, please help me.
    Thanks in advance

    Hello,
    Below is query created by Jonathan Kehayias for measuring Perfom counters using DMV sys.dm_os_performance_counter.
    You can download book from below link
    https://www.simple-talk.com/books/sql-books/troubleshooting-sql-server-a-guide-for-the-accidental-dba/
    DECLARE @CounterPrefix NVARCHAR(30)
    SET @CounterPrefix = CASE WHEN @@SERVICENAME = 'MSSQLSERVER'
    THEN 'SQLServer:'
    ELSE 'MSSQL$' + @@SERVICENAME + ':'
    END ;
    -- Capture the first counter set
    SELECT CAST(1 AS INT) AS collection_instance ,
    [OBJECT_NAME] ,
    counter_name ,
    instance_name ,
    cntr_value ,
    cntr_type ,
    CURRENT_TIMESTAMP AS collection_time
    INTO #perf_counters_init
    FROM sys.dm_os_performance_counters
    WHERE ( OBJECT_NAME = @CounterPrefix + 'Access Methods'
    AND counter_name = 'Full Scans/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Access Methods'
    AND counter_name = 'Index Searches/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Buffer Manager'
    AND counter_name = 'Lazy Writes/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Buffer Manager'
    AND counter_name = 'Page life expectancy'
    OR ( OBJECT_NAME = @CounterPrefix + 'General Statistics'
    AND counter_name = 'Processes Blocked'
    OR ( OBJECT_NAME = @CounterPrefix + 'General Statistics'
    AND counter_name = 'User Connections'
    OR ( OBJECT_NAME = @CounterPrefix + 'Locks'
    AND counter_name = 'Lock Waits/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Locks'
    AND counter_name = 'Lock Wait Time (ms)'
    OR ( OBJECT_NAME = @CounterPrefix + 'SQL Statistics'
    AND counter_name = 'SQL Re-Compilations/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Memory Manager'
    AND counter_name = 'Memory Grants Pending'
    OR ( OBJECT_NAME = @CounterPrefix + 'SQL Statistics'
    AND counter_name = 'Batch Requests/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'SQL Statistics'
    AND counter_name = 'SQL Compilations/sec'
    -- Wait on Second between data collection
    WAITFOR DELAY '00:00:01'
    -- Capture the second counter set
    SELECT CAST(2 AS INT) AS collection_instance ,
    OBJECT_NAME ,
    counter_name ,
    instance_name ,
    cntr_value ,
    cntr_type ,
    CURRENT_TIMESTAMP AS collection_time
    INTO #perf_counters_second
    FROM sys.dm_os_performance_counters
    WHERE ( OBJECT_NAME = @CounterPrefix + 'Access Methods'
    AND counter_name = 'Full Scans/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Access Methods'
    AND counter_name = 'Index Searches/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Buffer Manager'
    AND counter_name = 'Lazy Writes/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Buffer Manager'
    AND counter_name = 'Page life expectancy'
    OR ( OBJECT_NAME = @CounterPrefix + 'General Statistics'
    AND counter_name = 'Processes Blocked'
    OR ( OBJECT_NAME = @CounterPrefix + 'General Statistics'
    AND counter_name = 'User Connections'
    OR ( OBJECT_NAME = @CounterPrefix + 'Locks'
    AND counter_name = 'Lock Waits/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Locks'
    AND counter_name = 'Lock Wait Time (ms)'
    OR ( OBJECT_NAME = @CounterPrefix + 'SQL Statistics'
    AND counter_name = 'SQL Re-Compilations/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'Memory Manager'
    AND counter_name = 'Memory Grants Pending'
    OR ( OBJECT_NAME = @CounterPrefix + 'SQL Statistics'
    AND counter_name = 'Batch Requests/sec'
    OR ( OBJECT_NAME = @CounterPrefix + 'SQL Statistics'
    AND counter_name = 'SQL Compilations/sec'
    -- Calculate the cumulative counter values
    SELECT i.OBJECT_NAME ,
    i.counter_name ,
    i.instance_name ,
    CASE WHEN i.cntr_type = 272696576
    THEN s.cntr_value - i.cntr_value
    WHEN i.cntr_type = 65792 THEN s.cntr_value
    END AS cntr_value
    FROM #perf_counters_init AS i
    JOIN #perf_counters_second AS s
    ON i.collection_instance + 1 = s.collection_instance
    AND i.OBJECT_NAME = s.OBJECT_NAME
    AND i.counter_name = s.counter_name
    AND i.instance_name = s.instance_name
    ORDER BY OBJECT_NAME
    -- Cleanup tables
    DROP TABLE #perf_counters_init
    DROP TABLE #perf_counters_second
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • How to Get  SQL Results in Java?

    Hello,
    I'm new to java and have a few questions when running sql. I have no problems connecting to the Oracle 9i database, but my questions are these:
    (1) I have a CREATE TABLE statement. How do I check to see if the table was actually created? SQL returns the statement "table created" if it was successful. I've tried different "out.print(resultSet.*" statements to return either success or failure, but nothing is working.
    (2) I created a measure called sqlQuery. Can I put multiple sql statements in this measure? How do I get a resultSet for each sql statement and not just the last one?
    (3) Is it possible to use the * (i.e., select * from tablename) in Java? I've tried this unsuccessfully too.
    Many thanks

    Start with this:
    http://java.sun.com/javase/technologies/database/
    %

  • How to push sql statements eariler in kodojdo

    Hi,
    I am using Websphere Studio Application Developer ver 5.0.1 and Kodo
    2.5.2.
    Is there any way of pushing the sql statements eariler,
    i have a table which has some columns with UNIQUE attribute, in my process
    i try to catch if any errors during the insert (persist in jdo)
    but, it doesn't throw any exception during persist call, it allows the
    process to go to next step then finaly through the exception (during the
    commit)
    is there any option to push the sql statements earlier and get the
    exception rather than doing at the end.
    one option i can think to put into new transaction, but it won't suite for
    all my cases.
    Thanks
    karup.

    You can cast the PersistenceManager to
    com.solarmetric.kodo.runtime.PersistenceManagerImpl and call flush ().
    See our JavaDoc for more info.
    kailasam.k wrote:
    Hi,
    I am using Websphere Studio Application Developer ver 5.0.1 and Kodo
    2.5.2.
    Is there any way of pushing the sql statements eariler,
    i have a table which has some columns with UNIQUE attribute, in my process
    i try to catch if any errors during the insert (persist in jdo)
    but, it doesn't throw any exception during persist call, it allows the
    process to go to next step then finaly through the exception (during the
    commit)
    is there any option to push the sql statements earlier and get the
    exception rather than doing at the end.
    one option i can think to put into new transaction, but it won't suite for
    all my cases.
    Thanks
    karup.
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

  • How to retrieve SQL statement in the CR 2008

    I'm using Crystal Reports 2008 in MS Visual Studio 2008, how can i retrieve SQL statement from *.rpt file, i have tried this code, but it doesn't work:
    ReportDocument rdReport = new ReportDocument();
    rdReport.Load("Reports/EmployeeTest.rpt", OpenReportMethod.OpenReportByTempCopy);
    CrystalDecisions.ReportAppServer.Controllers.RowsetController rsController;
    CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument rdClient = rdReport.ReportClientDocument; // on this line it throws an exception "The ReportClientDocument property can only be accessed when the report is opened using a Report Application Server."
    CrystalDecisions.ReportAppServer.DataDefModel.ISCRGroupPath rdGroupPath = new CrystalDecisions.ReportAppServer.DataDefModel.GroupPath();
    string temp;
    string sql;
    rsController = rdClient.RowsetController;
    sql = rsController.GetSQLStatement(rdGroupPath, out temp);
    maybe i'm doing something wrong ?
    thanks

    Hello Ludek,
    when I try to get the report from the session I got an error like this (I am using State Server Session mode i.e out proc in my application)
    ReportClientDocument     'reportDocument.ReportClientDocument' threw an exception of type 'System.InvalidOperationException'     CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument {System.InvalidOperationException}
    +base     {"The ReportClientDocument property can only be accessed when the report is opened using a Report Application Server."}     System.SystemException {System.InvalidOperationException}
    StackTrace     "   at CrystalDecisions.CrystalReports.Engine.ReportDocument.get_ReportClientDocument()"     string
    so is it the problem of not opened with RAS. Does installation of RAS solves the problem, If so Is it a free-ware or needs to be purchased.
    Ashok

  • Complete novice needs help getting SQL Query into Crystal Reports XI

    Post Author: MissMarnie
    CA Forum: Data Connectivity and SQL
    So I was given an intro level web course and a monster reference guide in prep to format a report. One of our developers wrote me everything I need for the report into a SQL Query and now I'm supposed to format it in CR XII literally do not know what to do from here. I'm able to set up the correct server as a datasource, if that's useful, but I don't know how to make the querey into a bunch of formattable fields in  CR. If anyone can walk me through this, I'd be so grateful. I've attempted to look up SQL query in both the help and the book but I keep hitting a wall. The help dialog says things like "press this button" with no reference to what "this button" is. I'm sure it's obvious to the knowledgeable but I'm in a complete fog. Thanks in advance   

    Post Author: synapsevampire
    CA Forum: Data Connectivity and SQL
    IF you're trying to get assistance with setting up a query as the source for a report, try posting your Crystal version and the database type.
    Different software works differently.
    In CR 9 and above, under the connection to the database you'll see Add Command. Select that and you can paste the query in.
    As for not knowing how to generate a report, that requires experience, there's no generic solution of course..
    -k

  • How to get SQL server IP ?

    Hi ALL ,
    I am using this script to get the SQL server IP address but it is working on one of the servers and generating an error on the other 
    SELECT SERVERPROPERTY('ComputerNamePhysicalNetBIOS') [Machine Name]
       ,SERVERPROPERTY('InstanceName') AS [Instance Name]
       ,LOCAL_NET_ADDRESS AS [IP Address Of SQL Server]
       ,CLIENT_NET_ADDRESS AS [IP Address Of Client]
     FROM SYS.DM_EXEC_CONNECTIONS
     WHERE SESSION_ID = @@SPID
    there error I am getting is 
    Invalid object name 'SYS.DM_EXEC_CONNECTIONS'.
    Any ideas how to get it to work ?

    Do you have
    VIEW SERVER STATE permission?
    Can you execute below SQL and post us the output?
    SELECT HAS_PERMS_BY_NAME(null, null, 'VIEW SERVER STATE');
    Also, Can you check the existence of the DMV under master database -> views->system views of the server?
    --Prashanth

Maybe you are looking for

  • Using Sequence in SQL Loader

    Hi, Does anybody know if I can generate the unique primary key using an Oracle Sequence for a Database table to which I am inserting records in SQL Loader? I checked the SQL Loader manual and there is no information as to how to make use of a Oracle

  • Power Cable issue with NOMAD

    I've had my nomad zen for over 2 years and it's worked great. However yesterday i went to plug it in to charge and no power was going into it. I felt the mid cable box (which i think converts AC to DC) and it was warm. So this a.m. i tried charging a

  • Error Code 1 cannot open CC

    I am downloading the Creative Cloud and i keep on getting error code 1. I am currently running on Windows 7. Can anyone help please?

  • Pdf files become unclear when zoomed

    I read a lot like magazines, newspapers etc that are in pdf format.  I save them to ibooks and read whenever there is a free time.  Recently i observe that the letters become vague and unclear when zoomed.  Can some of you advise a solution to this p

  • Aperture 3.3 search by lens no longer works.

    I can search by focal length, but putting say "lens includes 70mm" in the EXIF search (yes, it's ticked) just returns a blank sheet, despite the album having many shots taken with my 70mm prime. Are other people seeing this?