ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Search Result

Collapse
30 results in 0.0030 seconds.
Keywords
Members
Tags
  •  

  • paolinosal
    started a topic Base64 Encode e decode
    in SQL

    Base64 Encode e decode

    HI all,

    I was trying the systools function base64 encode and decode but I have a little problem with the decode...

    here's a test case:

    Code:
    Create Table Testbase64(Rowid Int Not Null Generated Always As Identity (Start With 1, Increment By 1, No
    Cache), Fieldutf8
    ...
    See more | Go to post

  • db2_fetch_assoc() fails mid-way through looping through results

    I have a query which takes less than a second to execute from iNavigator. When I run the same query from a php script and then loop through it using:

    Code:
    $numRows = 0;
    while ($row = db2_fetch_assoc($stmt))
    {
    //Do stuff
    $numRows++;
    }
    echo
    ...
    See more | Go to post

  • Poddys
    started a topic Synchronise DB2 With MySQL Database
    in DB2

    Synchronise DB2 With MySQL Database

    Something that I thought would be fairly easy to accomplish has taken me a week and I just keep hitting roadblocks every step of the way. I am hoping that someone has been able to achieve this and can maybe offer some tips.

    The scenario is that our corporate web site (PHP using the DB2...
    See more | Go to post

  • Gary B
    started a topic SQL Update First Occurrence only?
    in SQL

    SQL Update First Occurrence only?

    Hi Everyone,

    Please forgive me and let me know if this is posted twice, my first post didn't seem to work.

    I have an sql command that seems to be taking a long time to process. My RPG program processes ~ 500k records and runs in less than 1 minute, love my i.

    However...
    See more | Go to post

  • WarrenN
    started a topic Finding records with illegal characters
    in DB2

    Finding records with illegal characters

    Not sure if this should go here or in DDS, but I'm trying to find all records in a table that include illegal characters in any of their fields. There are a little over 1 million records in this table, so hand checking all of them isn't very practical. Does anyone know of a way to detect all illegal...
    See more | Go to post

  • techas400
    started a topic Deletion and updation on different environments(LPARs)

    Deletion and updation on different environments(LPARs)

    Is it possible to compute a file member removal in a rpgle program from a development lpar.

    eg: RMVM FILE(LIB/FILE1) MBR(PAR1981181)
    and performing updation on a different file in a different lpar altogether?

    UPDATE "SCDTA.CORP"/AR#RMTPRL9
    SET...
    See more | Go to post

  • Gary B
    started a topic FTP Question

    FTP Question

    Merry Christmas everyone!

    I have an FTP situation I've not run into before and cannot find anything on this anywhere.

    I need to pick up multiple files from a remote server (not an i).
    I do not know the file names and the names will never be the same name.
    I'd like...
    See more | Go to post

  • jamief
    started a topic Some SQL stuff that everyone already knows
    in SQL

    Some SQL stuff that everyone already knows

    Code:
         H dftactgrp( *no )  OPTION(*NODEBUGIO)                                                         
                                                                                                        
           //---------------------------------------------
    ...
    See more | Go to post

  • abercrombieande
    started a topic Estimating Size
    in DB2

    Estimating Size

    I have a few tables that I would like to estimate the size savings on if I drop a few columns. What is the best way to estimate the savings?
    See more | Go to post

  • BhargavSushant
    started a topic data area command

    data area command

    which command to use for checking that if data area already exist in Library.
    See more | Go to post

  • jamief
    started a topic updating Db2 table with timestamp using SQL
    in SQL

    updating Db2 table with timestamp using SQL

    PHP Code:
       // need to update oefpicks --                                 
        
    exec sql update oefpicks set  OFFLIGHT 'P',                
                                      
    OFPUSER = :@user,              
                                      
    OFPICKIP = :ipaddress
    ...
    See more | Go to post

  • jamief
    started a topic DB2 - SQL cookbook nice examples

    DB2 - SQL cookbook nice examples

    Please take a look at Graeme's site nice work and a nice tutorial in form of .PDF.
    excellent work.

    http://mysite.verizon.net/Graeme_Birchall/index.html

    jamie...
    See more | Go to post

  • abercrombieande
    started a topic Sql state 57014
    in DB2

    Sql state 57014

    I am going crazy why cant I drop a column
    Code:
    ALTER TABLE DWUSRLIB.DMPROVDT  DROP COLUMN DIM_PROVDR_EXP_DATE;
    SQL State: 57014
    Vendor Code: -952
    Message: [SQL0952] Processing of the SQL statement ended. Reason code 10. Cause . . . . . : The SQL operation was ended before...
    See more | Go to post

  • abercrombieande
    started a topic Contraint does not have a matching parent key
    in DB2

    Contraint does not have a matching parent key

    I have two table as defined below

    TABLE 1
    --COLA
    --COLB
    --COLC

    TABLE 2
    --COLA
    --COLB
    --COLC

    Table 1 COLA is autonumber.
    When I try to run
    Code:
    alter table TABLE2 add contraint CSTID foreign key
    ...
    See more | Go to post

  • Lenny2113
    started a topic DDS and Physical File with Native I/O vs. DB2/SQL
    in DDS

    DDS and Physical File with Native I/O vs. DB2/SQL

    Hi all.

    We are using iSeries and only now converting from System36 to ILE. Most applications are written in COBOL.
    All data access is done via native "Read / Write".
    I am considering switching to Databases and SQL as opposed to PF and LF.

    I came...
    See more | Go to post

Our Sponsors

Collapse
Working...
X