Use Insert all but want only to insert records for non-null values

Hi, New here and could use some help with my sql statement.  I have a portfolio with denormalized data table that has been inserted via .csv file.  It is a contract with a base, options and extensions.  I need to create a contract record, then a separate record in the table for each base/option/extension contract Details.  I use INSERT ALL so I maintain the CONTRACT_ID for the secondary table.  My problem is that my statement puts a line in the table of details for the null records, that I don't want.  (i.e. 123 contract has a Base, Option 1, Option 2 and Option 3, but I'm getting a line for these lines with dates more null for Option 4, Ext 1, Ext 2, Ext 3 and Ext 4).  I want to insert only when the % CTRT_STRT_DT is NOT NULL.  It will be different for each contract.  Where should I put the IS NOT NULL statement?  Here is my complete insert statement:

-Contract data

INSERT ALL

IN LRTC)

CTRT_ID,

PRGRM_OFC_TYP_CD,

CTRT_NME,

CREN_DT)

VALUES)

CTRT_ID_SEQ. NEXTVAL,

PRGRM_OFC_TYP_CD,

SPLS_SRVS_DESC,

SYSDATE)

-Contract detail for another period of performance data

IN CTRT_DTLS)

CTRT_ID,

CTRT_STAT_CD,

CTRT_PER_NME,

CTRT_STRT_DT,

CTRT_END_DT,

CTRT_CURR_AMT,

CTRT_NO,

CTRT_VNDR_NME,

CREN_DT)

VALUES)

CTRT_ID_SEQ. NEXTVAL,

1,

"Other."

OTHER_CTRT_STRT_DT,

OTHER_CTRT_END_DT,

OTHER_CTRT_CURR_AMT,

CTRT_NO,

CTRTR_NME,

SYSDATE)

-Contract detail data for the reference period of performance

IN CTRT_DTLS)

CTRT_ID,

CTRT_STAT_CD,

CTRT_PER_NME,

CTRT_STRT_DT,

CTRT_END_DT,

CTRT_CURR_AMT,

CTRT_NO,

CTRT_VNDR_NME,

CREN_DT)

VALUES)

CTRT_ID_SEQ. NEXTVAL,

1,

'Base ',.

BASE_CTRT_STRT_DT,

BASE_CTRT_END_DT,

BASE_CTRT_CURR_AMT,

CTRT_NO,

CTRTR_NME,

SYSDATE)

-Data contract detail for Option 1 execution time-out

IN CTRT_DTLS)

CTRT_ID,

CTRT_STAT_CD,

CTRT_PER_NME,

CTRT_STRT_DT,

CTRT_END_DT,

CTRT_CURR_AMT,

CTRT_NO,

CTRT_VNDR_NME,

CREN_DT)

VALUES)

CTRT_ID_SEQ. NEXTVAL,

1,

"Option 1",

OPT1_CTRT_STRT_DT,

OPT1_CTRT_END_DT,

OPT1_CTRT_CURR_AMT,

CTRT_NO,

CTRTR_NME,

SYSDATE)

-Data contract detail for Option 2 execution time-out

IN CTRT_DTLS)

CTRT_ID,

CTRT_STAT_CD,

CTRT_PER_NME,

CTRT_STRT_DT,

CTRT_END_DT,

CTRT_CURR_AMT,

CTRT_NO,

CTRT_VNDR_NME,

CREN_DT)

VALUES)

CTRT_ID_SEQ. NEXTVAL,

1,

'Option 2',

OPT2_CTRT_STRT_DT,

OPT2_CTRT_END_DT,

OPT2_CTRT_CURR_AMT,

CTRT_NO,

CTRTR_NME,

SYSDATE)

-Data contract detail for Option 3 lead time

IN CTRT_DTLS)

CTRT_ID,

CTRT_STAT_CD,

CTRT_PER_NME,

CTRT_STRT_DT,

CTRT_END_DT,

CTRT_CURR_AMT,

CTRT_NO,

CTRT_VNDR_NME,

CREN_DT)

VALUES)

CTRT_ID_SEQ. NEXTVAL,

1,

'Option 3',

OPT3_CTRT_STRT_DT,

OPT3_CTRT_END_DT,

OPT3_CTRT_CURR_AMT,

CTRT_NO,

CTRTR_NME,

SYSDATE)

-Data contract detail for Option 4 execution time-out

IN CTRT_DTLS)

CTRT_ID,

CTRT_STAT_CD,

CTRT_PER_NME,

CTRT_STRT_DT,

CTRT_END_DT,

CTRT_CURR_AMT,

CTRT_NO,

CTRT_VNDR_NME,

CREN_DT)

VALUES)

CTRT_ID_SEQ. NEXTVAL,

1,

'Option 4',

OPT4_CTRT_STRT_DT,

OPT4_CTRT_END_DT,

OPT4_CTRT_CURR_AMT,

CTRT_NO,

CTRTR_NME,

SYSDATE)

-Data contract detail for Extension 1 execution time-out

IN CTRT_DTLS)

CTRT_ID,

CTRT_STAT_CD,

CTRT_PER_NME,

CTRT_STRT_DT,

CTRT_END_DT,

CTRT_CURR_AMT,

CTRT_NO,

CTRT_VNDR_NME,

CREN_DT)

VALUES)

CTRT_ID_SEQ. NEXTVAL,

1,

'Extension 1',

EXT1_CTRT_STRT_DT,

EXT1_CTRT_END_DT,

EXT1_CTRT_CURR_AMT,

CTRT_NO,

CTRTR_NME,

SYSDATE)

-Data contract detail for Extension 2 execution time-out

IN CTRT_DTLS)

CTRT_ID,

CTRT_STAT_CD,

CTRT_PER_NME,

CTRT_STRT_DT,

CTRT_END_DT,

CTRT_CURR_AMT,

CTRT_NO,

CTRT_VNDR_NME,

CREN_DT)

VALUES)

CTRT_ID_SEQ. NEXTVAL,

1,

'2 Extension',

EXT2_CTRT_STRT_DT,

EXT2_CTRT_END_DT,

EXT2_CTRT_CURR_AMT,

CTRT_NO,

CTRTR_NME,

SYSDATE)

-Data contract detail for Extension 3 lead time

IN CTRT_DTLS)

CTRT_ID,

CTRT_STAT_CD,

CTRT_PER_NME,

CTRT_STRT_DT,

CTRT_END_DT,

CTRT_CURR_AMT,

CTRT_NO,

CTRT_VNDR_NME,

CREN_DT)

VALUES)

CTRT_ID_SEQ. NEXTVAL,

1,

'3 Extension',

EXT3_CTRT_STRT_DT,

EXT3_CTRT_END_DT,

EXT3_CTRT_CURR_AMT,

CTRT_NO,

CTRTR_NME,

SYSDATE)

-Data contract detail for Extension 4 execution time-out

IN CTRT_DTLS)

CTRT_ID,

CTRT_STAT_CD,

CTRT_PER_NME,

CTRT_STRT_DT,

CTRT_END_DT,

CTRT_CURR_AMT,

CTRT_NO,

CTRT_VNDR_NME,

CREN_DT)

VALUES)

CTRT_ID_SEQ. NEXTVAL,

1,

'4 Extension',

EXT4_CTRT_STRT_DT,

EXT4_CTRT_END_DT,

EXT4_CTRT_CURR_AMT,

CTRT_NO,

CTRTR_NME,

SYSDATE)

SELECT

PRGRM_OFC_TYP_CD,

SPLS_SRVS_DESC,

CTRT_NO,

CTRTR_NME,

To_date(PER_OF_PFRM_OTHER_ST_DT,'MM/DD/YYYY') as OTHER_CTRT_STRT_DT,

To_date(PER_OF_PFRM_OTHER_END_DT,'MM/DD/YYYY') as OTHER_CTRT_END_DT,

CUR_VAL_BY_POP_OTHER_AMT as OTHER_CTRT_CURR_AMT,

To_date(PER_OF_PFRM_BASE_ST_DT,'MM/DD/YYYY') as BASE_CTRT_STRT_DT,

To_date(PER_OF_PFRM_BASE_END_DT,'MM/DD/YYYY') as BASE_CTRT_END_DT,

CUR_VAL_BY_POP_BASE_AMT as BASE_CTRT_CURR_AMT,

To_date(PER_OF_PFRM_OPT1_ST_DT,'MM/DD/YYYY') as OPT1_CTRT_STRT_DT,

To_date(PER_OF_PFRM_OPT1_END_DT,'MM/DD/YYYY') as OPT1_CTRT_END_DT,

CUR_VAL_BY_POP_OPT1_AMT as OPT1_CTRT_CURR_AMT,

To_date(PER_OF_PFRM_OPT2_ST_DT,'MM/DD/YYYY') as OPT2_CTRT_STRT_DT,

To_date(PER_OF_PFRM_OPT2_END_DT,'MM/DD/YYYY') as OPT2_CTRT_END_DT,

CUR_VAL_BY_POP_OPT2_AMT as OPT2_CTRT_CURR_AMT,

To_date(PER_OF_PFRM_OPT3_ST_DT,'MM/DD/YYYY') as OPT3_CTRT_STRT_DT,

To_date(PER_OF_PFRM_OPT3_END_DT,'MM/DD/YYYY') as OPT3_CTRT_END_DT,

CUR_VAL_BY_POP_OPT3_AMT as OPT3_CTRT_CURR_AMT,

To_date(PER_OF_PFRM_OPT4_ST_DT,'MM/DD/YYYY') as OPT4_CTRT_STRT_DT,

To_date(PER_OF_PFRM_OPT4_END_DT,'MM/DD/YYYY') as OPT4_CTRT_END_DT,

CUR_VAL_BY_POP_OPT4_AMT as OPT4_CTRT_CURR_AMT,

To_date(PER_OF_PFRM_EXT1_ST_DT,'MM/DD/YYYY') as EXT1_CTRT_STRT_DT,

To_date(PER_OF_PFRM_EXT1_END_DT,'MM/DD/YYYY') as EXT1_CTRT_END_DT,

CUR_VAL_BY_POP_EXT1_AMT as EXT1_CTRT_CURR_AMT,

To_date(PER_OF_PFRM_EXT2_ST_DT,'MM/DD/YYYY') as EXT2_CTRT_STRT_DT,

To_date(PER_OF_PFRM_EXT2_END_DT,'MM/DD/YYYY') as EXT2_CTRT_END_DT,

CUR_VAL_POP_EXT2_AMT as EXT2_CTRT_CURR_AMT,

To_date(PER_OF_PFRM_EXT3_ST_DT,'MM/DD/YYYY') as EXT3_CTRT_STRT_DT,

To_date(PER_OF_PFRM_EXT3_END_DT,'MM/DD/YYYY') as EXT3_CTRT_END_DT,

CUR_VAL_BY_POP_EXT3_AMT as EXT3_CTRT_CURR_AMT,

To_date(PER_OF_PFRM_EXT4_ST_DT,'MM/DD/YYYY') as EXT4_CTRT_STRT_DT,

To_date(PER_OF_PFRM_EXT4_END_DT,'MM/DD/YYYY') as EXT4_CTRT_END_DT,

CUR_VAL_BY_POP_EXT4_AMT as EXT4_CTRT_CURR_AMT

OF CTRT_HLDG A, PRGRM_OFC_TYP_LKUP B

WHERE UPPER (A.OFC_NME) = UPPER (B.PRGRM_OFC_TYP_NME);

Thanks for any help.

Chris

You're close.  Basically, you add one when befire each Inserts lines.  Something like:

INSERT ALL

When the ctrt_id is not null then

IN LRTC (PRGRM_OFC_TYP_CD, CTRT_NME, CTRT_ID, CREN_DT)

VALUES (CTRT_ID_SEQ. NEXTVAL, PRGRM_OFC_TYP_CD,

SPLS_SRVS_DESC, SYSDATE)

-Contract detail for another period of performance data

When the OTHER_CTRT_STRT_DT is not null then

IN (CTRT_ID, CTRT_STAT_CD, CTRT_PER_NME, CTRT_DTLS

CTRT_STRT_DT, CTRT_END_DT, CTRT_CURR_AMT,

CTRT_NO, CTRT_VNDR_NME, CREN_DT)

VALUES (CTRT_ID_SEQ. NEXTVAL, 1, 'Other', OTHER_CTRT_STRT_DT,

OTHER_CTRT_END_DT, OTHER_CTRT_CURR_AMT,

CTRT_NO, CTRTR_NME, SYSDATE)

-Contract detail data for the reference period of performance

When the BASE_CTRT_STRT_DT is not null then

IN (CTRT_ID, CTRT_STAT_CD, CTRT_PER_NME, CTRT_DTLS

CTRT_STRT_DT, CTRT_END_DT, CTRT_CURR_AMT,

CTRT_NO, CTRT_VNDR_NME, CREN_DT)

VALUES (CTRT_ID_SEQ. NEXTVAL, 1, 'Base', BASE_CTRT_STRT_DT,

BASE_CTRT_END_DT, BASE_CTRT_CURR_AMT, CTRT_NO,

CTRTR_NME, SYSDATE)

You may need to adjust my predicates, but it should give you the idea.

John

Tags: Database

Similar Questions

  • I have 3 radio button options to choose, but I want only a certain one for calculating sales tax. How can I assign a calculation to an option button?

    I have 3 radio button options to choose, but I want only a certain one for calculating sales tax. How can I assign a calculation to an option button?

    Ok. Let's say the name of the radio button group is "Radio1", the value of exports in this field is '3', the name of the subtotal is "Subtotal" and tax rate is 16%. You can use this code as the custom calculation of the tax field script:

    Event.Value = (this.getField("Radio1").valueAsString == "3")? Number (this.getField("Subtotal").valueAsString) * 0.16: 0;

  • I have a subscription to creative cloud but I want only muse and catalyst for business as a minimal or muse, catalyst, indesign and photoshop. Is there a plan, can I change which will integrate any one of these two options and if so how much it cost? and

    I have a subscription to creative cloud but I want only muse and catalyst for business as a minimal or muse, catalyst, indesign and photoshop. Is there a plan, can I change which will integrate any one of these two options and if so how much it cost? and how to convert my membership to which? Thank you, Linda

    You can opt for the one application CC if the product is available. The CC app cannot be designed according to the choice.

    We bundle for Photo Shop bathroom & light only.

    Concerning

    Stéphane

  • Just downloaded book dear DW CC. ' Bought that tells me to use "Workspace expanded", but the only options I see in the button of the window or workspace are 'Design' excerpt ' and from each other. No where can I find the 'Expand' or 'Compact' that says th

    Just downloaded book dear DW CC. ' Bought that tells me to use "Workspace expanded", but the only options I see in the button of the window or workspace are 'Design' excerpt ' and from each other. No where can I find the 'Expand' or 'Compact' that says that books are the two choices.

    The book you bought is for an older version of DW.  Which one, I don't know.  Changed a lot in the 2013, 2014 in June and October 2014,1 releases of CC.  Books are usually at least 1 version and sometimes 2 obsolete versions.

    CC 13

    Using Dreamweaver | Summary of new features

    CC 20141

    Using Dreamweaver | Summary of new features

    Nancy O.

  • sqlldr question loads data insert char to a null value.

    I want to load the 'o' for each input character null column sub-account. Thank you.

    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE Production 11.1.0.7.0
    AMT for 32-bit Windows: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production


    DOWNLOAD THE DATA
    INFILE ' \\WIFI\WEBSITE\INCOMING\ST\AP000. TXT' "STR"\r\n"
    ADD
    IN THE INCOMING_ORDERS TABLE
    TRAILING NULLCOLS

    (

    account POSITION (1:5) tank,
    subaccount POSITION (7:7) tank,
    name POSITION(11:38) char,
    chg_nbr POSITION (40:42) tank,
    whole POSITION (44:48) order_qty external,
    UI POSITION(50:54) char,
    zip POSITION (56:60) tank,
    ORDER_DATE sysdate




    )
    LOAD DATA
    INFILE '\\WIFI\WEBSITE\INCOMING\ST\AP000.TXT' "STR '\r\n'"
    APPEND
    INTO TABLE INCOMING_ORDERS
    TRAILING NULLCOLS
    
    (
    
    account POSITION(1:5) char,
    subaccount POSITION(7:7) char "nvl(:subaccount,'O')",
    nom POSITION(11:38) char,
    chg_nbr POSITION(40:42) char,
    order_qty POSITION(44:48) integer external,
    ui POSITION(50:54) char,
    zip POSITION(56:60) char ,
    order_date sysdate
    
    )
    
  • Error in SQL syntax when inserting data to the table in the form of values using insert record

    Hello

    I was hoping that someone could help me.  I am creating a form of registration on a website to insert data into a database table.  When you try to create the form, I get the following error:


    You have an error in your SQL syntax; consult the manual for your version of the MySQL server for the right syntax to use near ' VALUES (name, regno, reason) leave (has ', 1, 'dddd')' at line 1

    I checked the syntax, but you don't know what's wrong.

    I am running Windows 7 with Dw cs6 and wamp server.

    Leave with the names of column (name, regno, reason) is the name of the table.

    Thank you for your help and please help me.

    The code is as below:

    <? php require_once('Connections/connect.php');? >

    <? PHP

    If (! function_exists ("GetSQLValueString")) {}

    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

    {

    If (via PHP_VERSION < 6) {}

    $theValue = get_magic_quotes_gpc()? stripslashes ($TheValue): $theValue;

    }

    $theValue = function_exists ("mysql_real_escape_string")? mysql_real_escape_string ($TheValue): mysql_escape_string ($theValue);

    Switch ($theType) {}

    case 'text ':

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "long":

    case "int":

    $theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';

    break;

    case "double":

    $theValue = ($theValue! = "")? doubleVal ($TheValue): 'NULL ';

    break;

    case "date":

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "set":

    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;

    break;

    }

    Return $theValue;

    }

    }

    $editFormAction = $_SERVER ['PHP_SELF'];

    If (isset {}

    $editFormAction. = « ? ». htmlentities($_SERVER['QUERY_STRING']);

    }

    If ((isset($_POST["MM_insert"])) & & ($_POST ["MM_insert"] == "form1")) {}

    $insertSQL = sprintf ("INSERT INTO leave (name, regno, reason) VALUES (%s, %s, %s)',

    GetSQLValueString ($_POST ['name'], "text").

    GetSQLValueString ($_POST ['reg'], "int").

    GetSQLValueString ($_POST ['reason'], "text"));

    @mysql_select_db ($database_connect, $connect);

    $Result1 = mysql_query ($insertSQL, $connect) or die (mysql_error ());

    }

    ? >

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" > ""

    " < html xmlns =" http://www.w3.org/1999/xhtml ">

    < head >

    < meta http-equiv = "content-type" content = text/html"; charset = utf-8 "/ >"

    < title > online form let < /title >

    < name meta = "keywords" content = "" / > "

    < name meta = "description" content = "" / > "

    < link href = "styless.css" rel = "stylesheet" type = "text/css" media = "screen" / > "

    < / head >

    < body >

    < div id = 'wrapper' >

    < div id = "header" >

    < div id = 'menu' >

    < ul >

    < class li = "current_page_item" > < a href = "#" > home < /a > < /li >

    < li > < /li >

    < li > < /li >

    < li > < a href = "#" > on < /a > < /li >

    < li > < /li >

    < li > < a href = "#" > Contact < /a > < /li >

    < /ul >

    < / div >

    <!-end #menu->

    < div id = "Search" >

    < / div >

    <!-end #search->

    < / div >

    <!-end #header->

    < div id = "logo" >

    E - SCHOOL of CHRIST < h1 > < / h1 >

    < p > < / p >

    < / div >

    < hr / >

    <!-end #logo->

    <! - end #header - wrapper->

    < div id = "page" >

    < div id = "content" >

    < div class = "post" >

    < h2 class = "title" > leave application online < / h2 >

    < div class = "entry" > < / div >

    < / div >

    < do action = "<?" PHP echo $editFormAction;? ">" method = "POST" name = "form1" id = "form1" >

    < table width = "200" border = "2" cellspacing = "5" cellpadding = "5" >

    < b >

    < scope th 'row' = > name < /th >

    < td > < label for = "name" > < / label >

    < input type = "text" name = "name" id = "name" / > < table >

    < /tr >

    < b >

    < scope = "row" th > Reg No. < /th >

    < td > < label for = "reg" > < / label >

    < input type = "text" name = "reg" id = "reg" / > < table >

    < /tr >

    < b >

    < scope = "row" th > why < /th >

    < td > < label for = "reason" > < / label >

    < name textarea = 'reason' id = cols 'reason' = "45" rows = "5" > < / textarea > < table >

    < /tr >

    < b >

    < scope = "row" th > < /th >

    < td > < input type = "submit" name = "b1" id = "b1" value = "Submit" / > < table >

    < /tr >

    < /table >

    < input type = "hidden" name = "MM_insert" value = "form1" / >

    < / make >

    < / div >

    <!-end #content->

    < div id = "sidebar" >

    < ul >

    < li >

    Notice of < h2 > < / h2 >

    < p > students must present the appropriate documents supporting the reason for leave within 3 working days. < /p >

    < /li >

    < li id = "calendar" >

    Calendar < h2 > < / h2 >

    < div id = "calendar_wrap" >

    < table summary = "Calendar" >

    < caption >

    March 2014

    < / legend >

    < thead >

    < b >

    < th abbr = "Monday" scope = "col" title = "Monday" > M < /th >

    < th abbr = "Tuesday" scope = "col" title = "Tuesday" > T < /th >

    < th abbr = "Wednesday" scope = "col" title = "Wednesday" > W < /th >

    < th abbr = "Thursday" scope = "col" title = 'Thursday' > T < /th >

    < th abbr = "Friday" scope = "col" title = 'Friday' > F < /th >

    < th abbr = "Saturday" scope = "col" title = 'Saturday' > S < /th >

    < th abbr = "Sunday" scope = "col" title = 'Sunday' > S < /th >

    < /tr >

    < / thead >

    < tfoot >

    < b >

    < td abbr = "February" colspan = "3" id = "prev" > < a href = "#" title = "" > & laquo; Feb < /a > < table >

    < class td = "pad" > < table >

    < td abbr = "April" colspan = "3" id = "next" > < a href = "#" title = "" > Apr & raquo; < /a > < table >

    < /tr >

    < / tfoot >

    < tbody >

    < b >

    < td colspan = "5" class = "pad" > < table >

    < td > < table > 1

    < td > < table > 2

    < /tr >

    < b >

    < td > 3 < table >

    < td > < table > 4

    < td > 5 < table >

    < td > < table > 6

    < td > < table > 7

    < td > < table > 8

    < td > < table > 9

    < /tr >

    < b >

    < td > < table > 10

    < td id = 'today' > < table > 11

    < td > < table > 12

    < td > < table > 13

    < td > < table > 14

    < td > < table > 15

    < td > < table > 16

    < /tr >

    < b >

    < td > < table > 17

    < td > < table > 18

    < td > < table > 19

    < td > < table > 20

    < td > < table > 21

    < td > < table > 22

    < td > < table > 23

    < /tr >

    < b >

    < td > < table > 24

    < td > < table > 25

    < td > < table > 26

    < td > < table > 27

    < td > < table > 28

    < td > < table > 29

    < td > < table > 30

    < /tr >

    < b >

    < td > < table > 31

    < class td = "pad" colspan = "6" > < table >

    < /tr >

    < / tbody >

    < /table >

    < / div >

    < /li >

    < li > < /li >

    < /ul >

    < / div >

    <!-end #sidebar->

    < div style = "" clear: both; "> < / div >"

    < / div >

    <!-end #page->

    < div id = "footer" >

    < p > Copyright (c) University of Christ. All rights reserved. < /p >

    < / div >

    <!-end #footer->

    < / div >

    < div align = center > < / div > < / body >

    < / html >

    The LEAVE is a reserved word in MySQL. You can try to quote, but you are better to rename it.

  • How can I keep my 2 email accounts and all others using HTML? It lasts only temporarily, i.e. for the day...

    (1) - when I open Firefox, I recently have clicked on the hyperlink at the bottom of page html, it works very well for my gmail and yahoo accounts. However, it is not a permanent solution, it apparently lasts only for the daily session. How can I keep my internet, al. HTML permanently?

    (2) - Firefox v24.0 is supposed to be fast and quick! However, I am not find it so. When I click on a link or open a tab, it is frustrating that the tab work too long to open... More than not, I click reload, which appears to help a little. Any suggestions?

    (3) - I just printed the Mozilla Support Q & A on the Firefox error message indicating that it cannot load the site... How to I remedy this, as it appears constantly with my Yahoo email login?

    (4) Finally, a few weeks ago I jumped inadvertently bookmark 'HEALTH' (I have a bookmarks toolbar), which is excellent (had with WinXP too, now with Win7), but it seems to me to pop, double click or something or other, which blew a folder of bookmarks in the wild blue yonder! I have posted responses here and elsewhere, print and read all instructions variable to navigate and search, all nothing is helping. More sage advice please?

    with satisfaction, and thanks in advance.

    # 1, is the link to use HTML to simplify the interface?

    Maybe it's that the site stores your preferences in a cookie, and you may have set Firefox to delete the cookie when you quit the browser. There are a few built-in ways to do this:

    • The Firefox value "keep [cookies] until: I close Firefox" on the Privacy Options (you can create an exception for your messaging sites)
    • The value 'Clear history closing Firefox' Firefox on Privacy Options
    • A private browsing window allows to visit the site of your mail

    It is also possible that the modules or external software can clean the cookies, or that there is a problem with the database file Firefox uses cookies to store.

    # 2, you have this problem just started recently? If you find one any relationship with the site content type (for example, pages that use Flash or other media)?

  • Suffered the laptop using the recovery, but now only see 1 hard disk, not 2 disc

    Hello

    I used the system recovery disk to erase all the data on my laptop and re - install Windows Vista a-fresh. I used to have two hard drives (C and E), but now when I restored it I have only one.

    Should I just stick with it like that, or I can re - create the division?

    Thank you

    kjh888

    Hello

    What model of laptop do you have?
    With 2 hard drives do you mean 2 hard drives or 2 partitions on a HARD drive?

    The point is that recovery disk formats the HARD drive and erase the partitions created on the HARD drive, so if you had a partition, then a recovery disk can delete it from the HARD drive.

  • 614 GB used on Flash, but I only have 120 GB?

    Hello.

    I have a very big problem: my Flash storage is full. Now, it shows me, that I have still free 10 Gigabyte. BUT it also shows me that my Apps use Gigabyte 614

    I have a few games: Minecraft, League of Legends, Trine 2 and The Secret of Monkey Island. But I'm sure that these applications do not take too much storage space.

    What's not here...? !

    My device is:

    Mac Book Air, 13', mid 2013,

    120 GB Flash,

    1.3 GHz Intel Core 5 i,

    OS X El Capitan Version 10.11.13

    I would be very happy if you could get me an answer.

    Are you sure that's not MB (megabyte)?

    AppleMan

  • I use Firefox v12 but history only lasts for a month, and then suddenly I lose any history except for today

    In the last 2 days, the STORY was available from today, yesterday, 7 days and 1 month... suddenly everything has disappeared and only today and yesterday is history available. Yes in the privacy settings... I have... "remember history" so what's the problem?

    Hello please make sure, that there is no external program on your pc clear firefox' historical data. some security programs, - clean - & setup software and even programs like hp support assistant comes with the hp hardware provided with this feature...

  • Want only Family TreeMaker present for a user

    Original title: How do I install this program
    Forgive me if I use the incorrect terms. I am trying to install a program from a CD. I want this program appears on the account to only one user. I try, but it still appears on all user accounts. Now, I'm simply by following the wizard on the screen. Another it is a way to do this? The program is called Family Tree Maker 2005.

    P.S. I did with programs for Windows 95 to Vista, but this version of the "family tree" 2005 will not do it automatically.

    Also, is it wise to do this (install programs only on the user - non-public account)?

    It depends on the installer, what is happening.
     
    Move the shortcuts to the alluserprofile to your profile.
     
    For the desktop icons
    -------------------------
    type in start - all programs - accessories - Run
     
    C:\Users\Public\Desktop
     
    then type
     
    %UserProfile%\desktop
     
    and move the shortcuts in the Public Office on your desktop.
     
    For the start menu
    -------------------------
    Start right click the button and choose open
     
    Right-click the Start button, then select open all users
     
    and move the shortcuts to all users start menu to your Start menu.
     
    --
    ..
    --
    "riovista" wrote in message news: 05f05d68-9f28-4173-a7b8-eead1baa14ed...
    > Forgive me if I use the incorrect terms. I am trying to install a program of
    > a CD. I want this program appears on the account to only one user. I try, but
    > It still appears on all user accounts. Now, I'm simply by following the on
    > Wizard screen. Another it is a way to do this? The program is
    > called Family Tree Maker 2005.
    >
    > PS I did it with programs for Windows 95 to Vista, but it
    > 2005 version of "Family tree" won't do it automatically.
    >
    > Also, is it wise to do this (install programs only on the user account -
    (> non-public)?
    >
     
     
  • the non-null values insert select

    Please could you help me on this:

    INSERT INTO new_table (ID, hobby, country, internal_id, cat)

    SELECT ID, hobby, country internal_id,

    Max (CASE cat WHEN = 'ben' THEN 1

    WHAT cat = 'ale' THEN 2

    WHAT cat = 'inf' THEN 3

    WHAT cat = "cad" THEN 4

    WHAT cat = 'juv' THEN 5

    WHAT cat = 'sen' THEN 6

    WHAT cat = 'teacher' THEN 7

    END)

    Ancienne_table GROUP BY ID, hobby, country, internal_id;

    the lines on ancienne_table have duplicates regs as follows:

    IDCountryHobbyInternal_IDCAT
    1OmanRugby Union63180Juv
    1OmanRugby Union63180Teacher
    1OmanRugby Union63180Juv

    the request requires the output as follows:

    IDCountryHobbyInternal_IDCAT
    1OmanRugby Union631807

    because cat = 'juv' (5) is less cat =' teacher (7).

    all columns are not null and the primary key of the new_table is ID + hobby

    The script displays the following output:

    01400 00000 - 'impossible to insert NULL into (%s)' because does not recognize the function max.

    Thanks in advance.

    Kind regards.

    Actually there are values not in the range of cat. There is an error in the old data table.

    I proceeded to remove the lines out of reach in the cat because column that are not relevant in this case.

    The parameters I use Oracle are:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    PL/SQL Release 11.2.0.1.0 - Production

    "CORE 11.2.0.1.0 Production."

    AMT for 64-bit Windows: Version 11.2.0.1.0 - Production

    NLSRTL Version 11.2.0.1.0 - Production

    Thank you very much. You are so helpful.

    Kind regards.

  • CS5 - what happened to the photo Web Gallery? I use it all the time to prepare the galleries for Dreamweaver.

    Having just upgraded from CS2 to CS5, I can't find Web Photo Gallery (previously files, automate, Web Photo Gallery).

    This has been very helpful to prepare image galleries sent to me by members of the group in all sizes, so I could send all of the files from the Gallery directly in Dreamweaver for download from our Web site.

    Open deck.

    In the framework of aid, is an icon that looks like a sheet.

    If you press that, the output options opens and you can choose the Web Gallery as your choice.

  • Cursor Oracle return only the last record

    I am a newbie in oracle stored proc. I tried to select data using the slider, but it only return last record. The recording must be greater than 1.

    CREATE or REPLACE procedure MySchema.Test (myrefcur on sys_refcursor)
    Is

    Begin
    declare

    Cursor C1 IS

    Select mySerialNum from TableA;
    MyRecord C1% rowtype;

    Begin
    Open C1;
    Loop
    Fetch C1 into myrecord;
    When the output C1% NotFound;

    Open for Myrefcur
    Select SerialNumB from TableB where SerialNumB = myrecord.mySerialNum;

    End loop;
    Close C1;
    End;
    end;

    However, it only returns the last record in the list.

    Original case *.
    The original code is as below:

    1st, I'll need to select a list of ImageSerialNum of ImageSerial

    * 1 query:
    Select A.ImageSerialNum from ImageSerial A, ProductionOrder B, Bom C
    Where A.ProductionOrderID = B.ProductionOrderID And B.Assembly_Num = C.Model_Num and
    B.Revision = C.Revision And B.EngRevision = C.EngRevision and
    C.Bom_ID = passInVariable* and C.FactoryID = "7"

    2nd, I'll need to check the process of EACH series with the code below:

    * Low code a return process for 1 series only.

    Select t.processid, t.processname, t.assembly_num, t.revision, t.engrevision of
    (Select p.ProcessID, p.ProcessName, in. Assembly_Num, in. review, in. EngRevision, im.imageserialnum
    Process p, Routesequence rs, Imageserial im, ProductionOrder in.
    Where im. ImageserialNum = SerialNum* and p.ProcessID = rs. ProcessID
    And rs. RouteID = in. RouteID and rs. SequenceID = im. NextRouteSequence
    And in. ProductionOrderID = im. ProductionOrderID AND IM. STATUS OF '0'
    UNION
    SELECT A.REWORKROUTEID AS PROCESSID PROCESSNAME AS B.ROUTENAME, C.ASSEMBLY_NUM, C.REVISION, C.ENGREVISION, a.imageserialnum
    OF IMAGESERIAL A, B OF ROAD, PRODUCTIONORDER C
    WHERE A.REWORKROUTEID = B.ROUTEID AND A.IMAGESERIALNUM = SerialNum*.
    AND A.PRODUCTIONORDERID = C.PRODUCTIONORDERID and a.status = '0') t

    After that, I would like to combine the two in 1 stored proc code.

    in this case, you just want to join the two applications to use in the FROM clause
    As I don't have your tables, I created two tables, each representing the results of your queries. Substitute the names of table with your queries

    SQL> drop table master
      2  /
    
    Table dropped.
    
    SQL> drop table details
      2  /
    
    Table dropped.
    
    SQL>
    SQL> create table master
      2  (ImageSerialNum varchar2(25));
    
    Table created.
    
    SQL>
    SQL>
    SQL> insert into master values ('Serial1');
    
    1 row created.
    
    SQL> insert into master values ('Serial2');
    
    1 row created.
    
    SQL> insert into master values ('Serial3');
    
    1 row created.
    
    SQL> insert into master values ('Serial4');
    
    1 row created.
    
    SQL> insert into master values ('Serial5');
    
    1 row created.
    
    SQL>
    SQL> create table details
      2  (ImageSerialNum  varchar2(25)
      3  ,ProcessID  number
      4  ,ProcessName varchar2(25)
      5  );
    
    Table created.
    
    SQL>
    SQL> insert into details values ('Serial1',  1, 'Process1');
    
    1 row created.
    
    SQL> insert into details values ('Serial3',  3, 'Process3');
    
    1 row created.
    
    SQL> insert into details values ('Serial5',  5, 'Process5');
    
    1 row created.
    
    SQL>
    SQL> select m.imageserialnum
      2       , d.processid
      3       , d.processname
      4    from master m
      5    left outer
      6    join details d
      7      on (m.imageSerialnum = d.imageserialnum)
      8   order by m.imageserialnum
      9  /
    
    IMAGESERIALNUM             PROCESSID PROCESSNAME
    ------------------------- ---------- -------------------------
    Serial1                            1 Process1
    Serial2
    Serial3                            3 Process3
    Serial4
    Serial5                            5 Process5
    

    your query will be something like

    select m.imageserialnum
         , d.processid
         , d.processname
      from () m
      left outer
      join (
    
  • is there a widget for Skype that supplies Adobe or if not provided by adobe, which is the more reliable or recommended. Sort again to the use of Muse, but I LOVE it?

    is there a widget for Skype that supplies Adobe or if not provided by adobe, which is the more reliable or recommended. Sort again to the use of Muse, but I LOVE it?

    For as long that you check your page in time as a visitor, to see if it still works (some designers tend to forget that the web), you'll be fine. Services such as Skype, Google Maps, or Facebook sometimes need to change how their scripts so that they ask you to create a new batch of code and re-only insert in your page. So don't be shocked if it happens.

    Good work, have fun!

Maybe you are looking for