SQL to give all descriptions of the present market IDS in a single line

Hello

Table 1: MARKET
Columns: id maket, name of market

Table2:region
Columns: Id of the region, the name of the region, market id1, id2 market, market id3, id4 market... N No. markets.

Now, I would like to have a SQL statement that should give me the line as below

Region name, market 1, market 2 name, menaces3, Market4 name...

Please suggest.

Thank you
Cheesy

You can use one of the following methods:

* 1.* Select name area,
(select name of market where id = id1) market the legislation1,
(select name of market where id = id2) market 2.
...
of the region;

* Select region r.name, 2.
M1. Name market legislation1,
M2. Name market 2.
...
the market of the region r, m1, m2,... market where m1.id (+) = id1 and m2.id (+) = id2 and...;

* 3.* Select name area,
cursor (select name of market where id = m_id1 id = m_id2 or...) market in the region.

Tags: Database

Similar Questions

  • How can I get the tabs to go on a single line and a menu of Firefox?

    Firefox allows to have 2 lines above - Firefox menu with tabs and more and another line of the navigation toolbar. during the installation of some programs online, Firefox now have 3 lines at the top, with the Firefox menu on an entire line, the 2nd line of tabs and 3rd line of navigation toolbar. How can I get the tabs to go on a single line and a menu of Firefox?

    With the current versions of Firefox, you can choose to use the menu of Firefox (orange in windows; gray Linux) button at the left end of the Windows title bar or bar menus familiar as in earlier versions. The Firefox button is displayed by default only in Windows Vista and Windows 7, but you can turn on or off or switch between the two or temporarily show the menu bar when the Firefox button is displayed.

    If you chose to use the Firefox button and you use the default tabs on top, the tab bar will move to the title bar with the Firefox button only when you are to maximize window (the ' square' the middle button in the upper right corner of the Windows standard application window). Other selected toolbars will be displayed below that (bar Navigation, Bookmarks Toolbar and the toolbars you add via Add - ons).

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

    Not related to your question, but...

    You must update some plug-ins:

  • Select the list date picker on a single line - is this a bug?

    I use: Application Express 3.2.0.00.27

    Here is a bug? If so, how he reported so it will be fixed in a future version of APEX? If this is not the case, how can I do so it ends as I wish?

    1. create the blank page
    2. create html region
    3 create the 'select list' (start on new line - Yes... Span - line field - Yes, ColSpan - 1, 1)
    4. create the date picker component (start on new line - no,... On the ground - No, ColSpan - 1, length of line - 1)

    There will be other items displayed in columns more above what I just had create you above. I want the list of selection and the datePicker to show side by side on the same line, so I put the element selector to date on the same line in the same field as the selection list element.

    HOWEVER... the date picker eventually displayed in the selection list item (sort of), instead of next to it on the same line.

    Here is what I get:
    ...................... [Field selection list] Label date Picker
    Select label list
    ...................... [Date field Picker]

    Here's what I want:
    Select the list tag [field selection list] Date Picker [Date Picker field]

    Thank you
    Steve

    Published by: sskelton on August 3, 2009 11:01

    Published by: sskelton on August 3, 2009 11:02

    Hello

    Take a look at my first answer here: Re: problem with the position of the elements of can help you

    Andy

  • SQL fire keep all data in the RAM operating system

    We tried inserts block on a cluster of 3 machine having 4 GB RAM each. As data has begun to increase, it also increases the RAM of the BONE and it does not release the used memory even after stopping the sqlf or the server... Although without exception have been observed in all the cluster log files.

    We also observed with the 'TOP' command the process of sqlf was do not consume more, then 8-9% of the total RAM on each machine.

    There are two issues here: -.

    (a) how we can free the memory of BONES after the largest insert operation part is finished or when it exceeds a threshold limit.

    (b) do I provide any specific parameter during creation of the table to achieve that goal, or need to configure certain parameters to the server sqlf

    Here is the structure of the table without index:-

    CREATE TABLE (TT)
    step_id varchar (10),
    parameter ID_OUTIL varchar (10),
    module_id varchar (10),
    lot_id varchar (10),
    substrate_id varchar (10),
    act_timestamp timestamp
    ))
    PARTITION BY COLUMN (step_id parameter ID_OUTIL module_id, lot_id, substrate_id)
    GROUPS OF SERVERS (SG1)
    EXPULSION OF LRUCOUNT 2 EVICTACTION OVERFLOW PERSISTENT;

    Please let us know if anyone has faces such question

    Hi Neeraj

    The 1.0.3 release just made on the public site so you can download it here: http://www.vmware.com/go/download-sqlfire

    Let me know if there is any problem in getting it.

    Thank you

    Felicia

  • Write the text of the ae file (Meet written a single line)

    If I run the Toolbox code extended, it works fine,

    But if I run the code through the effect does not work well (all written on one line instead of two lines)

    What should I do so that through the after effects, it will work correctly?

    Thenks

    var a = 3;

    var c = [10,16,7];

    var myfile = new File("~/desktop/test1.txt")

    MyFile.Open ("w");

    MyFile.Write (a + "\n" + c);

    MyFile.Close ();

    Win.Close ();

    Your problem is not that it is to write a line, but add 3 to 10, so the output is:

    13,6,7

    You can operate it by changing this line:

    MyFile.Write (a + "\n" + c);

    TO:

    MyFile.Write(a+"\n"+c.Join(","));

    I don't know why AE work like this, but the solution will not work.

    Personally I do not like the different types of concat, and I write for strings only files.

  • Print the values to increment on a single line in the dynamic instruction

    How to print an increment of values in a single statement using dynamic sql?

    create table test_table (file_id number, start_id number, no_of_id number);
    
    insert into test_table(1, 1000, 3);
    insert into test_table (2, 1500, 4);
    commit;
    I want output like suite to be printed using the dynamic instructions:
    redo id 1 bases 1000,1001,1002,1003 ;
    redo id 2 bases 1500,1501,1502,1503,1504 ;
    I can able to print only to start the number with the following help:
    select 'redo id '||file_id||' bases '||start_id||';' from test_table;
    
    o/p is not what i wanted though
    redo id 1 bases 1000 ;
    redo id 2 bases 1500 ;
    Thanks for any help here!

    Hello

    You can do with plain old SQL static:

    WITH     all_ids     AS
    (
         SELECT     file_id
         ,     start_id + LEVEL - 1     AS an_id
         FROM     test_table
         CONNECT BY      PRIOR file_id        = file_id
              AND     PRIOR SYS_GUID ()  IS NOT NULL
              AND     LEVEL              <= no_of_id + 1
    )
    SELECT       'redo id '
           || file_id
           || ' BASES '
           || LISTAGG (an_id, ',') WITHIN GROUP (ORDER BY an_id)
           || ';'       AS out_txt
    FROM       all_ids
    GROUP BY  file_id
    ;
    
  • How to retrieve the values of character without using single quotes

    Hi all

    How to retrieve the values of character without the use of single quotes. Its Possible in Oracle SQL

    Please answer me...

    For example

    Is actual query-> Select * from employees where name like in("SCOTT", "JAMES", "ALBERT",...);

    I want to--> Select * from employees where name like(SCOTT, JAMES, ALBERT...); -without the use of single quotes.

    Why I need this application, I need to retrieve the records more than 200 employees in a select statement by using name in where clause.

    shagarmahabubjan wrote:

    Hi all

    How to retrieve the values of character without the use of single quotes. Its Possible in Oracle SQL

    Please answer me...

    For example

    Actual query is---> Select * from employees where name like in("SCOTT", "JAMES", "ALBERT",...);

    I want to---> Select * from employees where name like(SCOTT, JAMES, ALBERT...); -without the use of single quotes.

    Why I need this application, I need to retrieve the records more than 200 employees in a select statement by using name in where clause.

    In short... you can't.  The channels are channels, and SQL and PL languages dictate that the string literals are provided within single quotes.

    I don't see how trying to retrieve more than 200 records of employees in the select statement means that you must get rid of the quotes.

    Be clear in what you ask: Re: 2. How can I ask a question on the forums?

    and take note of the FAQ link davidp provided the solution "variable IN the list.

  • How to get multiple row data in a single line in SQL

    I have a cust_card_dtls table. This table contains the different clients card details. A customer can have a single card or several cards.

    SQL > select * from cust_card_dtls;

    CUST_ID CARD_NO
    --------------- ----------
    1 111
    2 222
    3 333
    4 444
    5 555
    6 666
    1 777
    1 888
    2 999

    I wan to query these data by that I can get all of a particular customer card numbers in a single line.
    i.e.
    1 111 777 888
    2 222 999
    3 333
    4 444
    5 555
    6 666

    Any way to do it? Thanks in advance.

    Just replace 2 with 4 as

    select  LTRIM(SYS_CONNECT_BY_PATH(CARD_NO,','),',')||lpad(',',4-NVL(length(regexp_replace(LTRIM(SYS_CONNECT_BY_PATH(CARD_NO,','),',') ,'[^,]')),0),',')   card_str
            ,CUST_ID
    from
    (
    select CUST_ID
            ,CARD_NO
            ,row_number() over (partition by CUST_ID order by CARD_NO)rno
            ,row_number() over (partition by CUST_ID order by CARD_NO)-1 rnom1
    from
    cust_card_dtls
    )
    where connect_by_isleaf = 1
    connect by prior rno = rnom1 and prior CUST_ID = CUST_ID
    START WITH RNO = 1
    
  • Private DB link does not not present despite entry TNS pattern gives ORA-02019: Description of the connection to remote database not found

    Hi DBAs,

    I have created a new schema and granted create database link and create databases of public link privileges.

    After that I created the link private DB for which TNS entry is present in TNSNAMES.ora but everything by testing the link, I get the error:

    ' ORA-02019: Description of the connection to the remote database not found. '

    Kind regards

    Ritz

    Try using:

    CREATE the DATABASE LINK "VENUS.ritz.ac.uk".

    CONNECT TO 'VENUSREADONLY' IDENTIFIED BY 'FLAMING0READ0NLY' WITH THE HELP OF "VENUS."

    Your dblink seem to give the entry not TNS service name.

    Kind regards

    --

    Bertrand

    PS you have to hide people with disabilities before posting.

  • Select SQL statement - See all the value of the range of month of entry

    Hi all

    I have a vision that is a union of other views
    But the description of the view is as below
    desc dashboard_monthly_view
    Name                           Null Type         
    ------------------------------ ---- ------------ 
    MONTHS                              VARCHAR2(17) 
    NUM_DEPENDENT_IN_ASSESSMENT         NUMBER       
    NUM_REFERRED_AODTC                  NUMBER       
    NUM_AT_DETERMINATION_HEARING        NUMBER       
    NUM_ACCEPTED                        NUMBER       
    NUM_NOT_ACCEPTED                    NUMBER       
    NUM_EXITED_SUCCESS                  NUMBER       
    AVERAGE_DAY_TO_EXIST                NUMBER       
    NUM_EXITED_UNSUCCESS                NUMBER       
    AVERAGE_DAY_TO_EXIST_UNSUCCESS      NUMBER       
    COURT_NAME                          VARCHAR2(9)  
    -current data in the view
    MONTHS            NUM_DEPENDENT_IN_ASSESSMENT NUM_REFERRED_AODTC     NUM_AT_DETERMINATION_HEARING NUM_ACCEPTED           NUM_NOT_ACCEPTED       NUM_EXITED_SUCCESS     AVERAGE_DAY_TO_EXIST   NUM_EXITED_UNSUCCESS   AVERAGE_DAY_TO_EXIST_UNSUCCESS COURT_NAME 
    ----------------- --------------------------- ---------------------- ---------------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ------------------------------ ---------- 
    AUG 2012          1                           0                      0                            0                      0                      0                      0                      0                      0                              AAA   
    OCT 2012          8                           1                      3                            1                      1                      1                      44                     1                      4                              AAA   
    SEP 2012          2                           0                      2                            2                      0                      0                      0                      0                      0                              AAA   
    *UNDEFINED*       0                           11                     7                            1                      1                      0                      0                      1                      0                              AAA   
    NOV 2012          0                           0                      0                            0                      0                      0                      0                      1                      54                             BBB  
    OCT 2012          4                           1                      2                            1                      1                      1                      9                      0                      0                              BBB  
    SEP 2012          1                           0                      0                            0                      0                      1                      14                     0                      0                              BBB  
    *UNDEFINED*       0                           5                      4                            1                      0                      0                      0                      1                      0                              BBB  
    AUG 2012          1                           0                      0                            0                      0                      0                      0                      0                      0                              COMBINED   
    NOV 2012          0                           0                      0                            0                      0                      0                      0                      1                      54                             COMBINED   
    OCT 2012          12                          2                      5                            2                      2                      2                      26.5                   1                      4                              COMBINED   
    SEP 2012          3                           0                      2                            2                      0                      1                      14                     0                      0                              COMBINED   
    *UNDEFINED*       0                           16                     11                           2                      1                      0                      0                      2                      0                              COMBINED   
    
     13 rows selected 
     
    -My select query is
     DEFINE startmonth = "Aug 2012";
    DEFINE endmonth   = "Nov 2012";
    with all_months as
    ( select to_char(which_month, 'MON YYYY') month from
      (select
            add_months(to_date('&startmonth','MON YYYY'), rownum-1) which_month
        from
            all_objects
        where
            rownum <= months_between(to_date(NVL('&endmonth', '&startmonth'),'MON YYYY'), add_months(to_date('&startmonth','MON YYYY'), -1))
        order by
            which_month )
    )
    
    select nvl(months, '**ALL**')    AS "MONTHS", TO_DATE(MONTHS, 'MON YYYY') AS MONTH_SORT
        , sum(num_dependent_in_assessment)    AS num_dependent_in_assessment
        , sum(num_referred_aodtc)    AS num_referred_aodtc
        , sum(num_at_determination_hearing) as num_at_determination_hearing
        , sum(num_accepted) AS num_accepted
        , sum (num_not_accepted) AS num_not_accepted
        , sum(num_exited_success) as num_exited_success
        , sum(average_day_to_exist) as average_day_to_exist
        , sum(num_exited_unsuccess) as num_exited_unsuccess
        , sum (average_day_to_exist_unsuccess) as average_day_to_exist_unsuccess
    from 
      DASHBOARD_MONTHLY_VIEW    right outer join all_months
      on DASHBOARD_MONTHLY_VIEW.months = all_months.month
    --where months in (select month from all_months)
      and upper(court_name) like 'AAA'
    group by (months)
    order by month_sort
     
    - And the result is
    MONTHS            MONTH_SORT                NUM_DEPENDENT_IN_ASSESSMENT NUM_REFERRED_AODTC     NUM_AT_DETERMINATION_HEARING NUM_ACCEPTED           NUM_NOT_ACCEPTED       NUM_EXITED_SUCCESS     AVERAGE_DAY_TO_EXIST   NUM_EXITED_UNSUCCESS   AVERAGE_DAY_TO_EXIST_UNSUCCESS 
    ----------------- ------------------------- --------------------------- ---------------------- ---------------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ------------------------------ 
    AUG 2012          01/08/12                  1                           0                      0                            0                      0                      0                      0                      0                      0                              
    SEP 2012          01/09/12                  2                           0                      2                            2                      0                      0                      0                      0                      0                              
    OCT 2012          01/10/12                  8                           1                      3                            1                      1                      1                      44                     1                      4                              
    **ALL**                                                                                                                                                                                                                                                                       
    
     
    -The requirement of results I have to produce is
    MONTHS            MONTH_SORT                NUM_DEPENDENT_IN_ASSESSMENT NUM_REFERRED_AODTC     NUM_AT_DETERMINATION_HEARING NUM_ACCEPTED           NUM_NOT_ACCEPTED       NUM_EXITED_SUCCESS     AVERAGE_DAY_TO_EXIST   NUM_EXITED_UNSUCCESS   AVERAGE_DAY_TO_EXIST_UNSUCCESS 
    ----------------- ------------------------- --------------------------- ---------------------- ---------------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ------------------------------ 
    AUG 2012          01/08/12                  1                           0                      0                            0                      0                      0                      0                      0                      0                              
    SEP 2012          01/09/12                  2                           0                      2                            2                      0                      0                      0                      0                      0                              
    OCT 2012          01/10/12                  8                           1                      3                            1                      1                      1                      44                     1                      4                              
    NOV 2012          01/11/12                  0                           0                      0                            0                      0                      0                      0                      0                      0                          
    **ALL**
     
    On the tota (* EVERYTHING *) l, I tried to use the rollup but he total average too, which is not correct. I think the reason because he cannot read the form that was used to calculate the column.
    How can I fix this, should I create, select another below one, with the sum of each column and the average for the other columns.
    Also, the business analyst want to show all the months between the start and end of the month.
    I used the right outer join, but apparently does not produce the right result.
    If anyone of you have any ideas, please advise.
    We use Oracle 11 g, it is a select statement for an Oracle APEX report.
    The APEX version is 4.0.2. I'm a junior developer of the APEX and I still have to learn a lot about SQL Oracle analytic function.

    Thank you very much in advance.

    Ann

    Hi, Ann.

    Ann586341 wrote:
    ... I created a table to contain a simplified version of this view

    Thank you. It is much easier to work with.

    ... My query is

    DEFINE startmonth = "Aug 2012";
    DEFINE endmonth   = "Nov 2012";
    with all_months as
    ( select to_char(which_month, 'MON YYYY') month from
    (select
    add_months(to_date('&startmonth','MON YYYY'), rownum-1) which_month
    from
    all_objects
    where
    rownum <= months_between(to_date(NVL('&endmonth', '&startmonth'),'MON YYYY'), add_months(to_date('&startmonth','MON YYYY'), -1))
    order by
    which_month )
    )
    , tbl_dashboard_active as
    ( select *
    from tbl_dashboard_monthly
    where months != '**UNDEFINED**' )
    
    select tbl.months    AS "MONTHS" --, TO_DATE(tbl.MONTHS, 'MON YYYY') AS MONTH_SORT
    , tbl.num_hearing
    , tbl.num_exited_success
    , tbl.avg_day_success_exist
    , tbl.num_exited_unsuccess
    , tbl.avg_day_unsuccess_exist
    
    from
    tbl_dashboard_active  tbl right outer join all_months am
    on tbl.months = am.month
    and upper(tbl.court_name) like 'BBB'
    
    UNION ALL
    
    select 'ALL'    AS "TOTAL"
    , SUM(tbl.num_hearing)
    , SUM(tbl.num_exited_success)
    , round(AVG(tbl.avg_day_success_exist),2)
    , SUM(tbl.num_exited_unsuccess)
    , round(AVG(tbl.avg_day_unsuccess_exist),2)
    --order by to_date(am.month,'MON YYYY')
    
    from
    tbl_dashboard_monthly  tbl right outer join all_months am
    on tbl.months = am.month
    and upper(tbl.court_name) like 'BBB'
    

    - And the result I got

    MONTHS            NUM_HEARING NUM_EXITED_SUCCESS AVG_DAY_SUCCESS_EXIST NUM_EXITED_UNSUCCESS AVG_DAY_UNSUCCESS_EXIST
    ----------------- ----------- ------------------ --------------------- -------------------- -----------------------
    AUG 2012                    1                  0                     0                    0                       0
    OCT 2012                    1                  0                     0                    2                      35
    SEP 2012                    1                  0                     0                    0                       0 
    
    ALL                         3                  0                     0                    2                   11.67 
    

    I don't know why even I already filter all lines that the month is undefined, I still have a blank line in the result set.

    This is the line for November. You do an outer join, in order to ensure that each value of am.month is displayed, even if it does not match what anyone in tbl. When it does not match anything, then all the columns tbl is supposed to provide will be NULL. You decide to view tbl. months, which is one of the following columns will be NULL. You should display mod. monmth instead.

    But if I run for handset Court, I don't see this problem. The reason is that the Court combined have given for all four months?

    When you say "on behalf of the combined Court", do you mean the unconditional "upper (tbl.court_name) as"BBB "?
    If Yes, that would explain it.

    Also is it possible to list all the months between the start and end month assuring the user even if the statistics are 0.

    Once again, in the case of lines that are present, even if they do not have the status of outer join, all of these columns will be NULL. Use NVL to map these nulls to 0.

    and how to sort the month

    GROUP OF two expressions, which depend on each other: one for sorting and the other for display.
    For the sort expression, you can use months as a DATE. (It seems that you have tried this, but commented on the ORDER BY clause in your query is before the FROM clause.) The ORDER BY clause is always at the end of the query, after the FROM clause.)
    Another expression of sorting is the number you used to generate the first month. That's what I used below.

    Here's a way to get the results you requested:

    WITH   got_months    AS
    (
         SELECT     TO_DATE ('&startmonth', 'Mon YYYY')     AS startmonth_dt
         ,     TO_DATE ( NVL ( '&endmonth'
                         , '&startmonth'
                         )
                   , 'Mon YYYY'
                   )                    AS endmonth_dt
         FROM    dual
    )
    ,     all_months     AS
    (
         SELECT  rownum               AS month_num
         ,     TO_CHAR ( ADD_MONTHS ( m.startmonth_dt
                                , ROWNUM - 1
                             )
                   , 'MON YYYY'
                   )              AS months
         FROM        got_months  m
         CROSS JOIN  all_objects
         WHERE     ROWNUM <= 1 + MONTHS_BETWEEN ( m.endmonth_dt
                                              , m.startmonth_dt
                                  )
    )
    SELECT    NVL ( am.months
               , 'All'
               )                              AS months
    ,        SUM (NVL (tbl.num_hearing,             0))     AS num_hearing
    ,        SUM (NVL (tbl.num_exited_success,      0))     AS num_exited_success
    ,       AVG (NVL (tbl.avg_day_success_exist,   0))     AS avg_day_success_exist
    ,       SUM (NVL (tbl.num_exited_unsuccess,    0))     AS num_exited_unsuccess
    ,       AVG (NVL (tbl.avg_day_unsuccess_exist, 0))     AS avg_day_unsuccess_exist
    FROM              all_months          am
    LEFT OUTER JOIN      tbl_dashboard_monthly  tbl  ON  am.months           = tbl.months
                                           AND  UPPER (tbl.court_name) = 'BBB'
    GROUP BY  GROUPING SETS ( (am.month_num, am.months)
                              , ()
                   )
    ORDER BY  am.month_num
    ;
    

    Again, I used two GROUP BY expressions: one for sorting, the other for display. These depend on each other, that is, given one, you could derive from each other, and it is not sensible to dependent ROLLUP GROUP BY expressions like that, so I used GROUPING SETS ROLLUP instead, so it would be only 1 rank of great aggregate (in other words, 'all').

    Output:

    `                               AVG_                 AVG_
                         NUM_       DAY_      NUM_       DAY_
                 NUM_ EXITED_    SUCCESS   EXITED_  UNSUCCESS
    MONTHS    HEARING SUCCESS     _EXIST UNSUCCESS     _EXIST
    --------- ------- ------- ---------- --------- ----------
    AUG 2012        1       0          0         0          0
    SEP 2012        1       0          0         0          0
    OCT 2012        1       0          0         2         35
    NOV 2012        0       0          0         0          0
    All             3       0          0         2       8.75
    
  • Result of the SQL action in a non String table presentation

    Hi all

    I have a simple action with a SQL queries where I get a table as a result and which I use in a couple of the workflow.

    What I need now is also an action with a SQL query, but that the result is a required string that I can set as "Default" in the presentation of the workflow.

    Here is the action that I already have a table/string result

    database is of Type SQL: Database entry

    table is of Type SQL table

    var currentUsersVMs = new Array();

    Get the displayName property of the workflow Starter

    try {}

    jdbcConnection var = new JDBCConnection();

    var connection = jdbcConnection.getConnection (database.connectionURL, database.username, database.password);

    System.Debug ("... successful login");

    var selectStatement = connection.createStatement ();

    settle with your column names to get a string like

    SELECT 'Server Name' IN 'yourTable' WHERE 'user' = 'Karl Mustermann '.

    var selectString = "sΘlectionner SRV_Name from dbo. "VC_Info_All where POWERSTATE = 'On' ORDER BY SRV_NAME."

    System.Debug ("request for enforcement:" + selectString);

    resultSet var = selectStatement.executeQuery (selectString);

    Depending on whether you expect users with no VM

    If (! resultSet) throw ' no line not found in table ' "+ table.name +" ' ";

    While (resultSet.next ()) {}

    columns resultSet starts a 1!

    currentUsersVMs.push (resultSet.getStringAt (1));

    }

    } catch (exception) {}

    throw "error reading database:"+ exception; ".

    } {Finally

    try {if (resultSet! = null) () resultSet.close ;} catch (e) {};}

    try {if (instructionselect! = null) selectStatement.close () ;} catch (e) {};}

    try {if (connection! = null) Connection.Close ;} catch (e) {};}

    }

    System.Debug ("VMs for the current user:" + currentUsersVMs);

    Action:

    Return currentUsersVMs;

    So, I already have the solution for this action.

  • addition of {tag_description} to the description meta in presenting field produced great

    Then download products catalogues through spreadsheet Excel my client did not have a description for the meta name = "description" field in the head of each page.  I understand that we can go into each product and descriptions put in a custom field and then place {tag_custom1} like this: meta name = "description" content = "{tag_custom1}" / in the big presentation of product.

    I'm looking for a faster fix then enter hundreds of products individually.

    It would be unwise to go in the great layout product and add {tag_description} in the field 'description' of properties?  If this works it remove the {tag_description} in my layout to visible product for the customer and place rather than in the main area of the page?

    If she actually overlap with the description, it is UNWISE to have a description twice in the head as the description in the body?

    If it is an OK solution, you can tell me how to add the tag in the description field of the properties?  Will be returned if html I just type {tag_description}?

    Thank you

    Nancy

    I really doubt that would work on Nancy.

    If you have HTML elements at all it goes or will probably mess up things like the HTML code must be between thelabels to display. You would end up with a lot of HTML code in your description. If it worked, you would end up with duplicate content, which is not good for SEO and you may as well omit it if you were going to do.

    Another option would be to add a more general description to your model manually that would cover all or most of your products.

  • SQL in Question actually. Select the items for all 12 months

    I am creating a notification request where I SUMMARIZED all of the amounts in the database for all 12 mount and come up with a result even if it isn't a amount totaled. I created a table called monthsInYear that has the ID (unique identifier) 1-12 and the months of Jan - Dec. I want SUM to the amount per month and arrived to the top with 12 results (one per month).

    I tried the query below, but sometimes with only 1 month and all amounts amounted to him.

    March484714.13

    I use:

    SELECT monthsInYear.month, IFNULL (SUM (income.amount), 0) AS amount

    OF monthsInYear

    Income ON EXTRACT(MONTH FROM income.dateAdded) = monthsInYear.monthID LEFT OUTER JOIN

    WHERE income.orgID = 10031

    AND the YEAR (income. DateAdded) = '2011'

    ORDER BY EXTRACT (MONTH FROM income.dateAdded) CSA

    Can someone tell me what I am doing wrong. I much prefer something like:

    January 3000

    February 3000

    March 4000

    April 0

    Maybe 5000

    June 6000

    July 5465

    ....

    But when I run the present, it gives me total for only the months which have in total and not 0 for those that go up as null. Any ideas?

    ....

    Also tried

    SELECT m.month, IFNULL (SUM (i.cost), 0) AS amount

    I have getExpenses LEFT OUTER JOIN monthsInYear m

    ON m.monthID = EXTRACT (MONTH FROM i.dateAdded)

    WHERE orgID = 10031

    AND YEAR (i.dateAdded) = '2011'

    GROUP BY m.month

    ORDER BY EXTRACT (MONTH FROM i.dateAdded) CSA

    There are two problems. First of all, in your join tables are reversed. A LEFT JOIN returns all the records in the left table (spending) even if there is no matching record in the table to the right. What you want, it's the opposite. If the month table should be on the left side of the JOIN:

    ...

    OF monthsInYear m LEFT JOIN getExpenses i m.monthID = EXTRACTION (i.dateAdded MONTH)

    Second, when there is no corresponding record in the expense, the column values will be null. So as soon as you use one of the fresh fields in your WHERE clause, that is to say

    WHERE i.orgID = 10031

    AND YEAR (i.dateAdded) = '2011'

    ... these missing documents are deleted, because a null value is never equal to what it is. So you are denying the outer join altogether. You must move these conditions in the JOIN clause instead:

    SELECT m.month, IFNULL (SUM (i.cost), 0) AS amount

    MonthsInyear LEFT OUTER JOIN getExpenses m I have

    ON m.monthID = EXTRACT (MONTH FROM i.dateAdded)

    AND i.orgID = 10031

    AND YEAR = 2011 (i.dateAdded)

    GROUP BY m.month

    ORDER BY m.month

  • I got a mini iPad 2 32 GB as a gift to replace a dead laptop but I'm not at all familiar with the product. Can I create and save word documents a presentations on a flashdrive off iPad mini?

    I got a mini iPad 2 32 GB as a gift to replace a dead laptop but I'm not at all familiar with the product. Can I create and save word documents a presentations on a flashdrive off iPad mini?

    You can create word documents and powerpoint presentations, but you cannot save them directly on a normal USB.

    Microsoft made a version of office for iPad, you can find it in the App Store. Here is a link:

    Word

    https://iTunes.Apple.com/en/app/Microsoft-Word/id586447913?Mt=8

    PowerPoint

    https://iTunes.Apple.com/us/app/Microsoft-PowerPoint/id586449534?Mt=8

    There are usb drives that work with iPads, and you can save documents to those who use their own applications.

    http://9to5Mac.com/2015/03/20/the-best-iPhoneiPad-USB-flash-drives-with-Lightnin g-connectors.

    Also I suggest you read through the iPad User Guide:

    http://help.Apple.com/iPad/9/

  • Sir, iam not at all satisfied with the functionality of windows vista, I need immediate upgrading to windows 7, please please give me this, I have the version of the license of vista,.

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas:

    • Programs you are Sir, iam, not at all satisfied with the functionality of windows vista, I need immediate upgrading to windows 7, please please give me this, I have the version of the license for vista, problems with
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    For any question on Windows 7:

    http://social.answers.Microsoft.com/forums/en-us/category/Windows7

    Link above is Windows 7 Forum for questions on Windows 7.

    Windows 7 questions should be directed to the it.

    You are in the Vista Forums.

    See you soon.

    Mick Murphy - Microsoft partner

Maybe you are looking for

  • Satellite 1800-504, doesn't have a LAN port

    I have a friend who has a Satellite 1800-504 he bought 5 years ago. Now, he bought an ADSL modem, what he wants to connect to the computer. The problem is that when the connection (ethernet) is supposed to adapt is closed. I've never seen anything li

  • @ and position "on the keyboard.

    I have an Acer Aspire one Aspire one (Linux) with mail arpire running   I have system settings set to English (United Kingdom), but the sign @ is on the 2 and the "is on the ' I think it's for the configuration of the U.S." My question is how do they

  • HP625 - laptop lost wireless adapter after the reconstruction of Windows 7 Home Premium

    My step daughter has asked me to try to fix his laptop HP625 that it had completely stopped working. I was able to reinstall Windows 7 Home Edition. I was able to start my CD and install Windows 7 but can't connect to the wireless network. Router is

  • Question of starting fast iscsi

    Hey,. I'm a little consfused on what is needed to get this working. I know in isci ucsm 2.0 boot is supported, and isci vNIC became an option - however it depends which mezz card you have? For example, I see in the descriptions of different mezz card

  • Best approach to upgrade to 2015 CC and keep still

    I think upgrade to 2015 CC and I don't want to continue to use it yet.  However, it still is not part of the CC and the latest version is always CS 6.What is the best approach?  Should I still install CS6 first, then Premiere Pro & etc. CC 2015?Thank