Exercise helps query (month-year) order

Hello

I have 2 tables:
----------------------
CREATE TABLE CDE_FIN_YEAR
(
  FIN_YEAR_CODE  NUMBER(4)                      NOT NULL,
  FIN_YEAR_DESC  VARCHAR2(15 BYTE)              NOT NULL,
  FROM_DATE      DATE                           NOT NULL,
  TO_DATE        DATE                           NOT NULL
)

-------------------------------------------------------------

CREATE TABLE CDE_MONTH
(
  MONTH_CODE  NUMBER(2)                         NOT NULL,
  MONTH_DESC  VARCHAR2(250 BYTE)                NOT NULL
)
-------------------------------------------------------------
Well, I want to display the months and years in order of a basis of the fiscal year, for example; from July 2007 to July 2008.

Kind regards

Abdetu...

Try this

 with t as (select 2009 FIN_YEAR_CODE,  '2009 - 2010' FIN_YEAR_DESC,   to_date('02/07/2009','dd/mm/yyyy') FROM_DATE, to_date('01/07/2010','dd/mm/yyyy')                TO_DATE       from dual union all
select          2008 ,'2008 - 2009',     to_date('02/07/2008','dd/mm/yyyy'),                to_date('01/07/2009','dd/mm/yyyy')                  from dual union all
select          2007 ,'2007 - 2008',     to_date('02/07/2007','dd/mm/yyyy'),                to_date('01/07/2008','dd/mm/yyyy')    from dual
)
select t.*, add_months( FROM_DATE,cnt-1) from  t, (select level cnt from dual connect by level <=12)
order by fin_year_code,add_months( FROM_DATE,cnt)
/

only works for 1 year

Concerning
Singh

Tags: Database

Similar Questions

  • Writing a query that may require a pivot but include [month, year] in the column and RiskGrades, no aggregate?

    Hello

    new to oracle/mark. I need to write a query that will pull the customer details and on the columns, it will have the month-year: Jan2015, Feb2015... Dec2015.

    on the lines, it will contain the details of the client. the information it will provide are the categories of risk to each month.

    I create a query, but it uses a function to update and is very slow. There are approximately 3000 documents. An update of column required 15 minutes or even more. so an update of column takes 15 minutes * 9 to update until September.

    the best ways to manage this demand?

    my query is:

    UPDATE tmpRiskGrades one

    SET a.feb2015 =)

    Select l.risk_grade

    of rep_loanportfolio l

    where a.agreementno = l.agreeement_no AND l.dtuserdatetime = February 28, 2015 ")

    Certainly, that looks like a pivot base for me.  Assuming that dtuserdatetime is actually a date data type, something like that will not work in your version of non-recognition:

    Select customer_no, agreeement_no, customer_address, loan_type region,

    Max (case when dtuserdatetime = to_date (Jan 31, 2015 "," DD month yyyy ' "))

    end of the era risk_grade) jan2015,.

    Max (case when dtuserdatetime = to_date (February 28, 2015 "," DD month yyyy ' "))

    then risk_grade end) Feb2015,

    ...

    of rep_loanportfolio l

    where loan_type = "HOME LOAN" and

    account_status = 'LIVE' and

    dtuserdatetime between to_date (Jan 31, 2015 "," DD month yyyy ' ") and

    TO_DATE (31 Dec 2015 "," DD month yyyy ' ")

    Group of customer_no, agreeement_no, customer_address, region loan_type

    order of region loan_type, customer_no, agreeement_no, customer_address

    If you are on 11.2 or higher, you could look at the PIVOT keyword, which is a more concise expression of the same thing.

    John

  • Dates on Firefox don't appear in the American Style, that is, month day year I want to change to day month year please help?

    Could you please tell me how to change the display of the date to display the day month year instead of month day year?

    HOW to: Change the Date, time, number, and currency value displays in Windows XP

    http://support.Microsoft.com/?kbid=307938

    Check and tell if its working.

  • How to get the Date, month, year of the DateTimePicker

    Hi, I am using the DateTimePicker.

    There are several question about this command:

    1. how to get the Date, month and year?

    -With the help of myDateTime.value, I get this string ' Wed May 08 14:45 ICT 2013 '-> I have to manually analyze this? Because I need in format yyyy/mm/dd. Or can set the format of dateTimePicker.value?

    2 format on dateTimePicker self (on the user interface) is d/m/YY, I can't change to another format?

    Thank you

    dateTimePicker.value return a QDateTime not a string.

    https://developer.BlackBerry.com/Cascades/reference/bb__cascades__datetimepicker.html#property-value

    See more:

    https://developer.BlackBerry.com/Cascades/reference/QDateTime.html#date

    https://developer.BlackBerry.com/Cascades/reference/QDate.html

    You can get

    day = dateTimePicker.value.date().day()
    month = dateTimePicker.value.date().month()
    year= dateTimePicker.value.date().year()
    dateYYYYMMDD = dateTimePicker.value.date().toString(Qt::ISODate)
    dateYYYYMMDD2 = dateTimePicker.value.date().toString("YYYY/MM/DD")
    dateYYYYMMDD3 = dateTimePicker.value.toString("YYYY/MM/DD")
    
  • Can I change the date format day/United States (month day year) in the United Kingdom (date month year)?

    When I consult databases via Firefox, the format of date/day is set at: day, month, year (AMERICAN style), while I need, day, month, year, I work in the United Kingdom and the 'bad' format is VERY confusing and could lead to errors and mistakes. IE has that format, but I don't want to return to using that.

    You use the English (United States) version of Firefox ESR 24.3.0. You can download the English version of (British) below:

    1. under Options - content - language, make sure that English/United Kingdom [en-us] is located at the top of the list.

    2. in the Windows Control Panel category, region and language, make sure that the short Date is set at your convenience.

    You can check the date and time at the library of Firefox, bookmarks category format. Press Ctrl + Shift + B to open it, and then note the dates in the added to the right column.

  • The date system in the taskbar indicates the year, month, day (as in the army). How can I read the day, month, year?

    The date system in the taskbar indicates the year, month, day (as in the army). How can I read the day, month, year?

    It's weird, in my version (Windows 7 Pro), it shows much more than that.

  • Excerpt of day, month, year

    Hello

    I have a XML tag consisting of date YYYY-MM-DD format. I need to break this date and extract the day, month, year in 3 different columns.

    For this I use <? xdoxslt:get_month('?) DateInvoiceJ_ID20?', $_XDOLOCALE)? > for months. But when I seeds the result to PDF it returns 0 instead of the current month.

    but when I use like <? xdoxslt:get_month('2010-12-09',_$_XDOLOCALE)? > it returns the result real, i.e., 12.

    What should I do to get the result of the XML tag and let me know what format I need to select in the property.

    I use desktop BI Publisher 10g

    Thank you

    If the date in the XML format is always constant (YYYY-MM-DD), then you can simply use the secondary string function to get values.

    Example:

    -Year

    -Months

    -Day

    Otherwise, you can extract values at the SQL level and display because there are in your report.

  • CANCEL MY MONTHLY MUSE ORDER IMMEDIATELY.

    CANCEL MY MONTHLY MUSE ORDER IMMEDIATELY. I tried to do this for months without success because GENERALLY, IT IS IMPOSSIBLE TO DO. HOW THIS SAME MONTHLY CHARGE BE LEGAL? IS IT? END NOW MY ORDER OF MUSE.

    Instructions to cancel your membership can be found here cancel your subscription or membership. Creative cloud>.

    Immediate 1-on-1 support is available via Live Chat or by phone by going to https://helpx.adobe.com/contact.html?step=MUSE_membership-account-payment_cancel-your-memb ership_stillNeedHelp.

  • Studio: Chart based on the day/month/year

    In the Studio, there is a requirement for us display the chart based on the day/month/year.

    Because the Date attribute does not appear as a Dimension in the graphics configuration list, I divided attribute date day/month/year attributes and inspiring that I generated a sample chart

    But now I am facing a problem

    Suppose that there are records for only July and Ms then the graph shows in July and Aug, it does not show in August.

    I agree that there is no record for August in my field of data which is the reason why Augustus is not displayed in the table. But according to our requirement, we must view August as well as with zero count.

    I'm curious to know if there is a way to do it.

    The idea behind the record calendar type is a secondary, new record type are you introduction that completes your registration type "sale."  The records you provided would be your 'sales' record type, not your type of registration of "calendar".  To use your example, your recordings of 'sale' would look like what provided you:

    =============== RECORD ==================

    ID: 1

    Sales_Amount: 1000

    Month: October

    RecordType: sale

    Date: 2012-10 - 01 T 00: 00:00.000Z

    day: 01

    year: 2012

    =============== RECORD ==================

    ID: 5

    Sales_Amount: 1000

    Month: December

    RecordType: sale

    Date: 2012-12 - 01 T 00: 00:00.000Z

    day: 01

    year: 2012

    ==========================================

    And your registration type "calendar" would be charged later.  I usually provide a single record of short for all day for this record type:

    =============== RECORD ==================

    ID: 1

    Month: October

    RecordType: calendar

    Date: 2012-10 - 01 T 00: 00:00.000Z

    day: 01

    year: 2012

    =============== RECORD ==================

    ID: 2

    Month: October

    RecordType: calendar

    Date: 2012-10 - T 02, 00: 00:00.000Z

    day: 02

    year: 2012

    ==========================================

    (and so on, one for each day until today... yawn)...

    =============== RECORD ==================

    ID: 790

    Month: July

    RecordType: calendar

    Date: 2013-07 - 31 T 00: 00:00.000Z

    day: 31

    year: 2013

    ==========================================

    Thus, when you write a statement of EQL as:

    RETURN foo AS SELECT

    Sum (Sales_Amount) AS "TotSales.

    GROUP BY month

    You will get a bucket of months for every month, where the record type "calendar" will not fail to offer a month when sales do not offer it... aka. Fill the "holes".

    HTH,

    Dan

    http://branchbird.com

  • Error in query of the ordered result query contained CFSCRIPT in CF10

    I came across a very interesting error when you perform a query of a query within a CFSCRIPT tag...

    I get a result in withdrawal of a SQL Server stored procedure.  This is a list of metric names (METRIC_ID) and the metric measures themselves.

    I need to pull the METRIC_ID for this outcome, plans to make a JOIN on another query having display and other attributes of formatting for display in a web page.

    The following code runs without error when the query is not ordered:

    var displayDataQuery = new Query();

    displayDataQuery.setName ("joinedQuery");

    displayDataQuery.setDBType ("query");

    displayDataQuery.setAttributes (qry1 = fullMetricsListQuery);

    displayDataQuery.setAttributes (qry2 = arguments.cubeData);

    displayDataQuery.setSQL ("SELECT METRIC_ID FROM qry2");

    var tempResultSet = displayDataQuery.execute ();

    var cubeMetricIDList = tempResultSet.getResult ();

    When I take the same results of exact query of the same stored procedure, but it is controlled by an ORDER BY clause, this statement;

    var tempResultSet = displayDataQuery.execute ();

    get the following error: "value" cannot be converted to a number.»   It is 2 apostrophes, meaning an empty string between 'value' and 'impossible.'


    Wait, what?  I want to just a list of names metrics, varchars.  Why is there a conversion error...?


    The error in the end pprovided back to ColdFusion10\cfusion\CustomTags\com\adobe\coldfusion\base.cfc, line 445

    OK, this is where it takes an interesting twist...

    Starting at line 444, in base.cfc, line 445 bolded in red:

    "< cfif sqlType NEQ" "and arraylen (sqlParams) gt 0 >."

    < cfloop index = "i" = "2" to = "#ArrayLen (sqlArray) #" >

    < arraylen (sqlParams) of lte cfif (i-1) >

    < cfqueryparam attributeCollection = "#sqlParams [i-1] #" / >

    < / cfif >

    #getPreserveSingleQuotes (sqlArray [i]) #.

    < / cfloop >

    < / cfif >

    So if I understand correctly, when I have a query, unordered, copy the following code in base.cfc bed the SQL code in displayDataQuery.setSQL ("SELECT METRIC_ID FROM qry2"), but is not when the query is controlled by METRIC_ID... ?

    Oh, wait... the CFDUMP when using an ordered set of data says something else...

    query
    RESULTSET
    CACHINGfake
    EXECUTIONTIME4
    SQLSELECT * FROM qry1 ORDER OF METRIC_ID, LOCATION

    I'm a bit confused why the same data in works set ordered, while an ordered set causes this error.

    All useful suggestions or clues would be greatly appreciated!

    Do you mean that the error has occurred without the order by clause?

    Given that the error only occurs with one unsorted data set, I'm a bit confused why you ask this...?

    I've followed your suggestion:

    Run the same code, but use the cfquery instead of cfscript tag. The error persists there?

    My assumption was that your suggestion is to test it against a set of ordered data because that is what caused the original error.

    Unfortunately, the error occurs in the scenarios the tag and script-based.

    There is absolutely no sense why this happens.  The order of a set of data should have no impact on a query of a query on a column defined as varchar.

    If there are null values in the other columns defined as a type of digital, big deal, the code in question does not seek to assess these columns.  Still more interesting thing is why disorderly orderly vs makes a difference.

  • Help InDesign month or year?

    I think to indesign to create an ebook. I am currently a student if I would be able to use the student offer is for a full year, so I have to think. No one knows how long that offer media? And if I just buy one month of the indesign and the month runs I would then be able to open the ebook that I subsequently started if I buy a new month or offering for this year? I hope you guys can help with my silly questions, but it is important for me to know, thanks!

    The first year, I think that for the package WHOLE CC is $19.99 / month. Who goes to $29.99 / month after the first year. Once you lose the academic status the price is $ 49.99 / month.

    The cost is only lower than many students past Starbucks.

  • Need help with SQL query (10 years since I have SQL)

    Hi guys,.

    I tried to remove some rust SQL. I did not go to SQL within a certain time.

    Here are the tables (% = ent $ = varcchar)
    -----------------
    RESULT
    -----------------
    % RESULT_ID-$ RC-% YEAR_ID - PERIOD_ID-% CONTRACT_NO-% value %
    20841---1439---83---37---010427102---1
    20842---1439---83---41---010427102---2
    20843---1439---84---37---010427102---3
    20844---1439---84---41---010427102---4
    20845---1439---83---34---010427102---5

    -----------------
    YEARS
    -----------------
    YEAR_ID - YEAR_DESC
    83 2010-2011
    84 2011-2012

    -----------------
    PERIOD
    -----------------
    PERIOD_ID - PERIOD_DESC
    34 14
    37 02
    41 03

    What I want is to get the last period of each year in the RESULT table. (I'll work the rest of the WHERE statement myself, because I have omitted some news, or columns for simplicity)
    Note that I can't rely on the ID of the period, as the chronological order is not respected.

    In the scenario above, I should GET
    % RESULT_ID-$ RC - YEAR_ID - PERIOD_ID-% CONTRACT_NO-% % value %
    20844---1439---84---41---010427102---4
    20845---1439---83---34---010427102---5



    I have the following, but it only returns values if the year is the last time!

    SELECT DISTINCT RESULTS. RESULT_ID, RESULT. RC, RESULT. PERIOD_ID, RESULT. YEAR_ID, RESULT. CONTRACT_NO, YEARS. YEAR_DESC
    RESULT, YEARS
    WHERE TO TRAIN. YEAR_ID = YEARS. YEAR_ID AND - it is my problem, I want the last period for each year.
    RESULT. PERIOD_ID = (SELECT PERIOD_ID FROM PERIOD WHERE CAST (PERIOD_DESC AS INT) = (Select MAX (CAST (PERIOD_DESC AS INT)) of the period)) - I think it works fine I'm able to get the last period
    ORDER BY YEARS. YEAR_DESC;

    Published by: 935079 on May 17, 2012 11:32
    Add space not formatted tabs

    Published by: 935079 on May 17, 2012 11:35

    Your way to present the data that makes it very tedious to create test data. Next time please simply provide CREATE TABLE and INSERT statements so that we can all share the same test data.

    Without test data, I think you want Frank solution with a very minor change: order value instead of id, then the number of line 1 is the highest value.

    with GOT_R_NUM as (
      SELECT r.* -- or list the columns you want
      , ROW_NUMBER() over(partition by R.YEAR_ID, R.CONTRACT_NO
        order by
    --    P.PERIOD_ID
        P.PERIOD_VALUE
        DESC NULLS LAST) AS r_num
      FROM result r
      JOIN period p ON r.period_id = p.period_id
      )
    SELECT * -- or list all columns except r_num
    FROM got_r_num
    WHERE r_num = 1;
    
  • Help request of customer orders

    Hello!

    I'm stuck and I'm a little confused about what to do.

    I did a query that displays sales order data, the query is:

    "

    Select

    OHA.order_number "Order number"

    OHA.ordered_date "Order date"

    OHA.cust_po_number "Number"

    Ott.Name "Order Type"

    OLA.line_number "Line number"

    MSI. Segment1 "Item Code",

    MSI. 'The item name, description

    -wdd.lot_number "LOT number"

    OLA.ordered_quantity "quantity."

    OLA.order_quantity_uom "UOM ordered."

    OHA.transactional_curr_code "currency."

    OLA.unit_selling_price 'unit sales price. "

    (ola.ordered_quantity * ola.unit_selling_price) "Sale price of line."

    OLA.shipping_quantity 'quantity shipped. "

    OLA.shipping_quantity_uom "UOM Quantity Shipped."

    (nvl(ola.shipping_quantity,0) * ola.unit_selling_price) "Delivered price",.

    cases where oha.transactional_curr_code = 'HUF' THEN (nvl(ola.shipping_quantity,0) * ola.unit_selling_price) other (nvl (ola.shipping_quantity, 0) * ola.unit_selling_price * ATCM.) End EXCHANGE_RATE) "prize shipped in HUF.

    OLA. ACTUAL_SHIPMENT_DATE "Delivery Date"

    extract (YEAR OF OLA. ACTUAL_SHIPMENT_DATE) "Shipped year."

    extract (MONTH OF OLA. ACTUAL_SHIPMENT_DATE) "Shipped months."

    extract (DAY OF OLA. ACTUAL_SHIPMENT_DATE) "Shipped day."

    OL. Meaning "order status."

    HCA.account_number 'Cardcode. "

    bill_p.party_name 'Cardname. "

    DECODE (bill_loc.city,

    NULL, NULL,

    bill_loc. City | ', '

    )

    || DECODE (bill_loc.state,

    NULL, bill_loc.province | ', ',

    bill_loc. State | ', '

    )

    || DECODE (bill_loc.postal_code,

    NULL, NULL,

    bill_loc.Postal_Code | ', '

    )

    || DECODE (bill_loc.country, NULL, NULL, bill_loc.country) "Delivery address"

    bill_loc. Address1 'Expedition street. "

    ship_loc. "Shipping city," city

    ship_loc. Indicative "Expedition", country

    FT.territory_short_name "country of dispatch",.

    (select name

    of ra_salesreps_all

    where salesrep_id = oha.salesrep_id

    and org_id = oha.org_id) 'name of the sales person.

    of oe_order_headers_all oha.

    ola oe_order_lines_all,

    oe_transaction_types_tl ott,

    MSI mtl_system_items_b,

    hz_cust_site_uses_all bill_su,

    hz_party_sites bill_ps,

    hz_locations bill_loc,

    hz_cust_acct_sites_all bill_cas,

    hz_cust_accounts bill_ca,

    hz_parties bill_p,

    hz_cust_site_uses_all ship_su,

    hz_party_sites ship_ps,

    hz_locations ship_loc,

    hz_cust_acct_sites_all ship_cas,

    -wsh_deliverables_v WD

    fnd_territories_tl ft,

    oe_lookups ol,

    hz_cust_accounts_all AOB,

    ra_customer_trx_all ATCM,

    ra_customer_trx_lines_all rctla

    -wsh_delivery_details JMD

    where oha.header_id = ola.header_id

    and bill_p.party_id = hca.party_id

    - and wdd.source_header_id = ola.header_id

    - and wdd.source_line_id = ola.line_id

    and oha. ORDER_TYPE_ID = ott.transaction_type_id

    and ott.language = userenv ('LANG')

    and ola.inventory_item_id = msi.inventory_item_id

    and ola.ship_from_org_id = msi.organization_id

    and oha.invoice_to_org_id = bill_su.site_use_id (+)

    and bill_su.cust_acct_site_id = bill_cas.cust_acct_site_id (+)

    and bill_cas.party_site_id = bill_ps.party_site_id (+)

    and bill_loc.location_id (+) = bill_ps.location_id

    and bill_cas.cust_account_id = bill_ca.cust_account_id

    and bill_ca.party_id = bill_p.party_id

    and oha.ship_to_org_id = ship_su.site_use_id (+)

    and ship_su.cust_acct_site_id = ship_cas.cust_acct_site_id (+)

    and ship_cas.party_site_id = ship_ps.party_site_id (+)

    and ship_loc.location_id (+) = ship_ps.location_id

    and ship_loc.country = ft.territory_code

    and ft.language = userenv ('LANG')

    and ol.lookup_type = 'FLOW_STATUS. '

    and ol.lookup_code = oha.flow_status_code

    and ola.shipping_quantity IS NOT NULL

    AND rcta.customer_trx_id = rctla.customer_trx_id

    AND rctla.interface_line_attribute6 = TO_CHAR (ola.line_id)

    AND rctla.interface_line_attribute1 = TO_CHAR (oha.order_number)

    - and oha.order_number = 1000914

    "

    The query works perfectly except one case.

    If I have sous-lignées, non-conventional lines (see attachments) in this case the query display only the first value of sub-line.

    Also if I connect wsh_deliverables_v tables for LOT numbers, the lines will be multiple and I don't know why

    Thanks for your help in advance,

    Zsolt

    I found the solution. If someone else stuck, here is the solution:

    In where condition change this line:

    AND rctla.interface_line_attribute6 = TO_CHAR (ola.line_id)

    to do this:

    AND (rctla.interface_line_attribute6 = TO_CHAR (ola.line_id) or rctla.interface_line_attribute6 = TO_CHAR (ola.split_from_line_id))
  • What is the date format used in the charts of Microsoft Support policy? Is the day/month/year or month/day/year?

    For example, the Date of beginning of life cycle shows 31/05/2001 (March 5) and the end of Support Date extended watch 07/12/2001 (12 July or December 7).

    The date format is month/date/year. This format is for the start date and end date for extended Support.
    In your example, the start date is May 31, 2001, and the end date would be July 12, 2001.

    I hope this helps.

    Marilyn

  • selection of the week, month, year in source throgh odi 11g?

    Hello

    I have 3 years of data in a source table (tableatm). data will be added to this table eod.

    img2.jpg

    I applied the filter on the column atm_date below screenshot

    Based on the filter, I want to load the data of the year underway, data of the current month data of the week underway, data from the previous month, data from the previous week, data from the previous year to this table.

    If I want to load data for 2010, then filter applied on TO_CHAR (TABLEATM. ATM_DATE, 'YYYY') = '2010' , I get only the data of 2010.

    If want to download data from 2015, filter applied on TO_CHAR (TABLEATM. ATM_DATE, 'YYYY') = "2015". But it's constant...

    I want to give the filter like that.

    TO_CHAR (TABLEATM. (ATM_DATE, «YYYY») = double '(sélectionnez (sysdate,-12)) ". When I applied the filter using this formula on this date column. I don't get all the data.

    Please help me...

    img1.jpg

    Please help me,

    Thanks in advance,

    A.Kavya.

    Hello

    I applied the dynamic filter as shown below. now, I get only the data of the year 2015...

    filter condition is

    TO_CHAR (to_number (to_char (TABLEATM. ATM_DATE, "YYYY"))) = (SELECT to_char (to_number (to_char (SYSDATE, 'YYYY'))-1)

    THE DOUBLE)

    Thanks & regards,

    A.Kavya.

Maybe you are looking for

  • How to sync iphone with itunes with XP

    I have a 5 c of Iphone and windows xp. How to get the latest version of Itunes to sync with my phone?

  • B110A Photosmart wireless all-in-one printer

    Printer continues to disconnect from the wireless connection, tried to put a static IP address, but not luck. Other available solutions? Can I change the parameters of confirmation for the printer? Any help would be greatly appreciated. Thank you ver

  • 8 GB card rocket w / 16 gb

    the update of the firmware repeat failure to download... y at - it another way to update my firmware... I have version 2.01.09 also I have on the chapters of the internal memory 3935 (songs)... when I try to add one for the 16 GB card it shows only a

  • Burning a slideshow on CD with Windows Media Player. Photos will not be displayed!

    I have a slideshow of photo .wmv (set to music with image transitions) on a computer that I am trying to burn a CD with Windows Media Player.  Photo slide show appear correctly on the computer.  However once on the CD, read in a CD player, plays the

  • Loop of reboot upgrade Vista to stage 3 of 3

    Hello. Problems after upgrade to Windows Vista (Ultimate). He stops at the step 3 of 3, 75%, then restarts over and over again. I tried to restart in integrated security mode and I tried to restart in the last known configuration that worked - nothin