Link Verification program giving wrong results?

Hey all,
I wrote a simple link verification program which verifies dynamic links pulled from a database, but the results are not correct. Some valid links turned out to be marked as Error Links. Especially links to some of the pdf files. I am wondering why? Did anyone have similar problems?
Thank you

Could be something wrong with your program. Or not. That's about all that can be said based on the information you gave.

Similar Messages

  • Query giving wrong results

    Below is the query thats giving me wrong results ...can anyone help me figure where i am going wrong :(
    SQL> select count(*) from t where source='LP1.1';
      COUNT(*)
            69
    SQL> select count(*) from tblspring where line_a='LP1.1';
      COUNT(*)
           233now when i join these two table ...the total counts exceeds the expected records that i want
    SQL> select count(*) from t , tblspring where t.source=tblspring.line_a and t.source='LP1.1';
      COUNT(*)
         16077

    the thing is i want to filter only those records from table t where the column named  - source is equal to the column named line_a from table tblspring from the query in table t i get 69 records ....
    now when i match the it table tblspring with the condition
    i want the number of records should be less than or equal to 69 but not more than 69
    Edited by: Suhail Faraaz on Mar 5, 2011 7:31 AM

  • Query giving wrong result

    Hi
    Could anybody tell me why this query is giving the wrong result? The column 'Spend for Selected Period' is showing as far too much (ie exactly 11 times too much!!!) when totalling the 37 invoices involved
    SELECT T0.[CardCode], T0.[CardName],T0.[MailCity] AS 'Town', T2.[SlpName] AS 'Rep',
    SUM(T1.DocTotal - T1.VatSum)  AS 'Spend for Selected Period', MAX(T3.CreateDate) AS 'Last Visit Date'
    FROM OCRD T0  left JOIN OINV T1 ON T0.CardCode = T1.CardCode LEFT JOIN OSLP T2 ON T0.SlpCode = T2.SlpCode LEFT JOIN OSCL T3 ON T0.CardCode = T3.Customer
    where  T0.[CardCode] = 'wyk027/34' AND T1.DocDate BETWEEN '20090101' AND '20091231'
    GROUP BY T0.[CardCode], T0.[CardName],T0.[MailCity], T2.[SlpName]
    Thanks
    Steve

    Hi ,
    It seems like it is duplicated by the number of service calls.
    Try this one:
    SELECT T0.CardCode, T0.CardName,T0.MailCity AS 'Town', T2.SlpName AS 'Rep',
    SUM(T1.DocTotal - T1.VatSum) AS 'Spend for Selected Period', (select MAX(T3.CreateDate) from OSCL T3 where T0.CardCode = T3.Customer) AS 'Last Visit Date'
    FROM OCRD T0 inner JOIN OINV T1 ON T0.CardCode = T1.CardCode inner JOIN OSLP T2 ON T0.SlpCode = T2.SlpCode
    where T0.CardCode = '10001' AND T1.DocDate BETWEEN '20090101' AND '20091231'
    GROUP BY T0.CardCode, T0.CardName,T0.MailCity, T2.SlpName
    Best regards,
    Maya

  • SQL Server 2012 Time(7) DataType values Comparison giving wrong result. Please help

    We have a Table with StartTime and EndTime columns in Time(7) datatype, so we want to count the rows for each hour from 6 AM to 5 AM. If a record in table is as StartTime= 7 PM to EndTime = 5 AM (a shift of an employee) then the result is wrong beacause
    being time(7) datatype the EndTime(5AM)< StartTime(7PM) in 24 hours format so following query gives wrong results.
    select
    * from EmpSchedule
    where (StartTime>='19:00:00.0000000'
    OR EndTime>='19:00:00.0000000')
    Please help me out. Thanks

    DECLARE @clockIns TABLE (employeeID INT, startDateTime DATETIME, endDateTime DATETIME)
    INSERT INTO @clockIns (employeeID, startDateTime, endDateTime)
    VALUES
    (1, '2014-07-01 19:01:00.000', '2014-07-02 04:27:00.000'),
    (2, '2014-07-01 18:01:00.000', '2014-07-02 05:27:00.000'),
    (3, '2014-07-01 19:01:00.000', '2014-07-02 05:27:00.000'),
    (4, '2014-07-01 18:01:00.000', '2014-07-02 04:27:00.000')
    SELECT *
    FROM @clockIns
    WHERE datepart(HOUR,startDateTime) BETWEEN 19 AND 23
    OR datepart(HOUR,startDateTime) BETWEEN 0 AND 4
    OR datepart(HOUR,endDateTime) BETWEEN 19 AND 23
    OR datepart(HOUR,endDateTime) BETWEEN 0 AND 4
    Try this out.

  • Opening Illustrator 8 eps is giving wrong results

    I have an eps (in Illustrator 8 format) where I manually changed the encoding to include east-european characters.
    When I open this eps in the latest Illustrator version, I don't see those characters.
    The attempts I made are:
    in a TE block
    39/quotesingle 96/grave 130/quotesinglbase/florin/quotedblbase/ellipsis
    /dagger/daggerdbl/circumflex/perthousand/Scaron/guilsinglleft/OE 145/quoteleft
    /quoteright/quotedblleft/quotedblright/bullet/endash/emdash/tilde/trademark
    /scaron/guilsinglright/oe/dotlessi 159/Ydieresis /space 164/currency 166/brokenbar
    168/dieresis/copyright/ordfeminine 172/logicalnot/hyphen/registered/macron/ring
    /plusminus/twosuperior/threesuperior/acute/mu 183/periodcentered/cedilla
    /onesuperior/ordmasculine 188/onequarter/onehalf/threequarters 192/Agrave
    /Aacute/Acircumflex/Atilde/Adieresis/Aring/AE/Ccedilla/Egrave/Eacute
    /Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex/Idieresis/Eth/Ntilde
    /Ograve/Oacute/Ocircumflex/Otilde/Odieresis/multiply/Oslash/Ugrave
    /Uacute/Ucircumflex/Udieresis/Yacute/Thorn/germandbls/agrave/aacute
    /acircumflex/atilde/adieresis/aring/ae/ccedilla/egrave/eacute/ecircumflex
    /edieresis/igrave/iacute/icircumflex/idieresis/eth/ntilde/ograve/oacute
    /ocircumflex/otilde/odieresis/divide/oslash/ugrave/uacute/ucircumflex
    /udieresis/yacute/thorn/ydieresis
    TE
    and further down: (128 80 \277) Tx
    I tried to replace the Agrave with Lslash, but Illustrator seems to ignore that part when opening the eps, and still displays a À
    Also tried with the TZ block to reencode the font:
    %AI3_BeginEncoding: _Helvetica-Condensed-Bold Helvetica-Condensed-Bold
    [ 191/Lslash /_Helvetica-Condensed-Bold/Helvetica-Condensed-Bold 0 0 1 TZ
    %AI3_EndEncoding AdobeType
    and further down: (128 80 \277) Tx
    That change is also ignored by Illustrator.
    The character is properly displayed when I open the eps and typing/pasting it in Illustrator, so I know the font supports it.
    Am I doing something wrong here?
    An alternate route could be to use the Illustrator SDK as platform for writing eps files, as I assume that the SDK properly supports unicode characters.
    Did some research on that, but found that the SDK is only to make Illustrator plugins, and not supporting standalone applications, so, for automated eps generating it's not suitable.
    Background:
    I've created software which generates eps files with cartographic maps in them for publishing, printing or other purposes.
    Recently, we got a new customer originating in eastern europe which wants their special, non-isolatin characters printed correcly.
    Hope someone can give me any advice on how to proceed...
    Greetings,
    Paul

    I just realized that order by case x.rest rest isn't giving me 's','m','t','w','th','f','sh' 
    substring(Rest, 1, charindex('~', Rest+'~') - 1) is giving me 's','m','t','w','th','f','sh' 
    so I switched the order by to be
    ORDER BY CASE substring(Rest, 1, charindex('~', Rest+'~') - 1) WHEN 'S' THEN 1 WHEN 'M' THEN 2 WHEN 'T' THEN 3 WHEN 'W' THEN 4
    WHEN 'TH' THEN 5 WHEN 'F' THEN 6 WHEN 'SH' THEN 7 ELSE 8 END, x.FirstWord
    That got the desired results.
    Debra has a question

  • Conditions giving wrong results

    Hi friends ,
                      i have two Key figures (RKF's)   Col1 and Col2 .
    Col1 having 0's and non zeros values . and Col2 also having zeros and non zeros values.
    My requirement is  Col1 should display only non zero values. then i created on condition
    Col1 >0 with respect to characteristic assignment (Individual chars and char.combi ) is Material-Type .
    Condition working for Col1 fine  and also its applying automatically  on Column 2 ( filtering the zeros in column 2 also).
    But i want filter zero's from Col1 and i need zeros from Col 2.
    I dont know why the Condition is applying on Col2 automatically.
    Can you pls suggest me guys its urgent.

    hi loed,
                i did'nt apply on Col2 .
    i have a
                    1.  RKF (1)  for mat-type X on Bill-Cost
                    2.  RKF (2)  for mat-type Y,Z ...other than X on Bill-Cost.
    Ex.
    Mat      Mat-type      Bill-Cost-X      Bill-Cost Y,Z..etc
       1            X                0
       2            X                5
       3            X                0
       4            Y                                          7
       5            Z                                          0
    Now i created condition on Bill-Cost-X >0 with chars Mat-type X
    then the displayed result is 
    Mat      Mat-type      Bill-Cost-X      Bill-Cost Y,Z..etc
       2            X                5
       4            Y                                          7
    But   5            Z                                     0  should display why this record is not displaying in out put.

  • Crystal XI R2 giving wrong result from a query...

    I created a very simple query using 3 conditions with OR operator, looking for 3 columns within a date range. CR returns the results only for the first condition and ignores the 2 other conditions. I ran exactly the same query using the syntax from CR SQL in MS SQL Management Studio and it works fine there.
    Here is the Record Selection syntax
    {CONTACT2.UBATSENDDT} = {?Date} OR
    {CONTACT2.UBWTSENDDT} = {?Date} OR
    {CONTACT2.UBPTSENDDT} = {?Date}
    Has anyone else experienced it too? Is there a trick to fix it? Please HELP....

    Thanks Jamie. That solved the problem. I've been using it for so long never knew about this setting. That's what happens when you learn things on your own. Appreciate your quick and right on the money response.  Are there any other Report Options setting that should be turned on as a precaution?
    Thanks Naga for suggestion but that wasn't the issue. I had already almost everything else.
    Edited by: ManojT on Mar 2, 2012 8:51 AM

  • Sources of supply giving wrong results.

    Dear experts,
    We are using SRM 4.0 ,server 500.
    When creating a shopping cart, and checking the proposed sources of supply for a particular product, we get a list of more than 20 contracts. (correct)
    When we directly want to create a PO we only get 6 contracts for the same product? Does anybody know what can be the reason for this behavior?
    Kind Regards,
    Tom

    Tom,
    A few things to check:
    1. Is the config setting to control the source list via AVL maintained?
    2. If not then all the contracts for that material or product category will show up in the shopping cart as the source list.
    3. Have all the contracts (GOA ) created in SRM exists in R/3 or you do not have any contarcts in SRM at all.
    4. In this case have you mainatined any AVLs with backend contracts.
    Hope this helps.
    Regards
    Satish Bengeri

  • MB25 giving wrong results

    Hi experts
    System is not deleting the reservation documents automatically even the document creation date is more than 30 days. while, my settings in SPRO-Materials Mnagement-Inventory Management and Physical Inventory-Reservation-Define Default Values-Plant is as under;
    Mvt check box is ticked
    Days m field has value as 10
    Rete field has value as 30
    MRA check box is ticked
    When I am taking report in MB25 for open reservations, those reservations are also appearing whose creation date is more than 30 days.
    Please help if there is some configuration issue.
    thanks in advance

    Hi,
    Thanks for the reply. Considering the following SPRO config, please help answering following two queries;
    SPRO-Materials Mnagement-Inventory Management and Physical Inventory-Reservation-Define Default Values-Plant is as under;
    Mvt check box is ticked
    Days m field has value as 10
    Retention period  field has value as 30
    MRA check box is ticked
    1. So, based on the above config settings, system will not delete the reservation after 30 days and we only through transaction MBVR, the reservation document with requiremment date prior to current date - 30 days will marked for deletion. If yes, please suggest whether a background job can be scheduled for automatic closure of such reservation documents.
    2. What is the procedure for deletion of reservation documents created with reference to Production Order, Plant Maintenance order and WBS element (project).
    thanks in advance

  • NOT IN operator giving the wrong results

    DB version:10gR2
    Why is NOT IN giving the wrong results. Isn't NOT EXISTS operator a flawless alternative to NOT IN?
    create table my_table1 (col1 number);
    insert into my_table1 values (1);
    insert into my_table1 values (2);
    commit;
    create table my_table2 ( col1 number);
    insert into my_table2 values (1);
    commit;
    select * from my_Table1;
           COL1
              1
              2
    select * from my_table2;
           COL2
              1
      --correct result
      SELECT * FROM my_table1 t1 WHERE NOT EXISTS
    (SELECT * FROM my_table2 t2 WHERE t1.col1 = t2.col1)
           COL1
              2
    ---correct result using IN
    SELECT * FROM my_table1 t1 where col1 not in (select col1 FROM my_table2 t2);
           COL1
              2
    Inserting a NULL to my_Table2
    Now the query using NOT IN is returning wrong results.
    insert into my_table2 values (null);
    commit;
    SELECT * FROM my_table1 t1 where col1 not in (select col1 FROM my_table2 t2);
    no rows selected
    Query using NOT EXISTS is still giving the right results.
    SELECT * FROM my_table1 t1 WHERE NOT EXISTS
       (SELECT * FROM my_table2 t2 WHERE t1.col1 = t2.col1);
           COL1
              2

    ScottsTiger wrote:
    can i use NOT EXISTS(with a proper Co-related subquery) as a safe alternative to NOT IN?Depends on your data and what you need to achieve.
    Personally I avoid using NOT EXISTS or NOT IN if I can really help it.
    My preferred method is to outer join the tables together and then remove any resultant rows where a value exists and I didn't want one. ;)

  • Goto link query is not giving exact results

    Hi Folks
    I am having issue with GOTO query.
    My main query gives details of Employee seperation in particular year.
    For this query i have goto query.
    When i am checking the details of goto query ,it is giving incorrect results.
    Your help is appreciated.
    Thanks & Regards,
    Hari Reddy

    Hi Hari,
        Check in RSBBS, whether you specified the receiver query correctly...
    Check the link:
    [http://help.sap.com/saphelp_nw04/helpdata/en/99/08629bd3e41d418530c6849df303c9/content.htm]
        Hope this helps you.
    Regards,
    Yokesh.

  • Query giving wrong values in portal but correct through RSRT

    Hi,
    Users are running a query through portal which is giving wrong figures. But when we are running the query through RSRT it is showing correct values. The quesry is built on top of an InfoCube which is regularly updated and data in it is matching with R/3.
    This is an Inventory Valuation Query.
    Please suggest what could be the possible issue.
    BR,
    Sayan

    Hi,
    Make sure cache is deleted for the particular query. While the report is executed through portal it refers the cache and if the data in the backend is not changed then the cache for a particular query selection is active and referred each time the query is run.
    on other hand while running RSRT we have an option of not using cache and thus it refers the infoprovider and fetches the correct result. In this case cache could be invalid.
    Try deleting the cache.
    Regards,
    Amit

  • Query returning wrong results - Help required.

    Hi All,
    I am having a query in which I have 10 records, 5 with stop time 1 and 5 with stop time 2.
    I have a scenario in which, I need to calculate the maximum,minimum for the records
    with stop time 1 and 2.
    What I did is, I selected all the 10 records using for loop. Within the loop
    I am trying to find the maximum and minimum. It is giving me wrong results.
    Please help me. My code is follows
    declare
         v_p1_min_stop_tm     number;
         v_p1_max_stop_tm     number;
         v_p2_min_stop_tm     number;
         v_p2_max_stop_tm     number;
    begin
         for i in(
              select
                   stop_tm
              from
                   sample_stop
              where
                   map_nbr = 16645 and
                   stop_dt = '05-sep-08'
         )loop
              if i.stop_tm = 1 then
                   select
                        min(i.stop_tm),
                        max(i.stop_tm)
                   into
                        v_p1_min_stop_tm,
                        v_p1_max_stop_tm
                   from
                        dual;
              elsif i.stop_tm = 2 then
                   select
                        min(i.stop_tm),
                        max(i.stop_tm)
                   into
                        v_p2_min_stop_tm,
                        v_p2_max_stop_tm
                   from
                        dual;
              end if;
         end loop;
         dbms_output.put_line('minimum p1 stop time : '|| v_p1_min_stop_tm);
         dbms_output.put_line('maximum p1 stop time : '|| v_p1_max_stop_tm);
         dbms_output.put_line('minimum p2 stop time : '|| v_p2_min_stop_tm);
         dbms_output.put_line('maximum p2 stop time : '|| v_p2_max_stop_tm);
    end;
    My o/p is :
    Minimum P1 stop time : 523
    Maximum P1 stop time : 523
    Minimum P2 stop time : 719
    Maximum P2 stop time : 719
    Here how can I make the data as two sets, one set with stop time 1 and
    other with stop time 2.
    Regards
    Raghu

    If the data type of stop_tm is varchar then try following
    declare
         v_p1_min_stop_tm number;
         v_p1_max_stop_tm number;
         v_p2_min_stop_tm number;
         v_p2_max_stop_tm number;
    begin
         for i in(select  stop_tm  from  sample_stop
              where
                   map_nbr = 16645 and
                   stop_dt = '05-sep-08'
              )loop
         if i.stop_tm = 1 then
              select min(to_number(i.stop_tm)), max(to_number(i.stop_tm))
                   into v_p1_min_stop_tm,v_p1_max_stop_tm
              from
                   dual;
         elsif i.stop_tm = 2 then
              select
                   min(to_number(i.stop_tm)),     max(to_number(i.stop_tm))
                   into
                   v_p2_min_stop_tm,v_p2_max_stop_tm
              from
                   dual;
         end if;
    end loop;
    dbms_output.put_line('minimum p1 stop time : '|| v_p1_min_stop_tm);
    dbms_output.put_line('maximum p1 stop time : '|| v_p1_max_stop_tm);
    dbms_output.put_line('minimum p2 stop time : '|| v_p2_min_stop_tm);
    dbms_output.put_line('maximum p2 stop time : '|| v_p2_max_stop_tm);
    end;
    / Regards
    Singh

  • CNET is giving wrong informat

    CNET is giving wrong info that the Zen Touch will be recognised as a dri've letter after the new firmware upgrade (which they claim will be out by Sep '04 :smileyvery-happy. I had confirmed with a mod that this is not possible with the Touch.
    The link is : http://reviews.cnet.com/Creative_Zen...4.html?tag=top
    The review is quite old, but still they should make changes so that customers arent misguided.

    Yep this was noted agggggggggggggges OK, so clearly they still haven't updated it.

  • Wrong results after upgrading 10g database to 11.2.0.2.6

    Hi,
    Do anyone know, why the following query results are different?
    Not Working query:
    sql1:
    select col1 from tab1
    where col1 = (select '123' from dual)
    Working query:
    sql2:
    select col1 from tab1
    where col1 = '123';
    Both the sql1 and sql2 are returning same reseults in 10g database , but not in 11g.

    Pl post OS details along with sample outputs and explain plans from the the sql1 statement from the two databases. These MOS Docs may help also
    Things to Consider Before Upgrading to 11.2.0.2 to Avoid Poor Performance or Wrong Results [ID 1320966.1]
    Wrong Results on 11.2.0.2 with Function-Based Index and OR Expansion [ID 1264550.1]
    Wrong Results/No Rows for Sql Involving Functions in 11.2.0.2. [ID 1380679.1]
    HTH
    Srini

Maybe you are looking for

  • Multiple User Accessing the same record issue

    I am planning to design an app where we have the following use case requirement. If a user who is logged into the system is accessing a record(plan in this case) anyone else who is logged into the system at the same time should be locked out of that

  • Applet is not working and I do not know why it is not working

    I cannot figure out why my applet is not working. Can someone assist me with this problem? Here is the code: As you will soon find out some of those imports can be ignored. import java.lang.Integer; import java.awt.*; import java.awt.event.*; import

  • Trouble with iPhoto Buddy

    Based on earlier good advise, I loaded iPhoto Buddy and tried to use it to create a new library on an external device. Here's the scenario: 1- Created a new folder on external drive using Finder 2- Used iPhoto to export all pictures to the new folder

  • Making a Media Player

    How would I go about doing this? Are there any resources that can help me get started? I know next to nothing about Java.

  • [Win]: Can't install ExtendScript ToolKit 2 - Problems with an already installed E'Script T'Kit 2?

    Hi I have problem to install ExtendScript ToolKit 2. I had installed ExtendScript ToolKit 2 and removed it with the Uninstaller. Now I want to reinstall it but it doesn't work. The setup says there is a conflict with the already installed ExtendScrip