Insert Comma if

I am using floating values into a paragraph.
Lets use the following for an example:
The first page of the form gathers some information including x amount of names. later on in the form I insert the names into a paragraph as such -
We will be including the participants {name1} {name2} {name3} {name4}.
I have successfully been able to insert the names but want to separate each name with a comma but only if there are the additional names because sometimes there is 2 names, other times 4.

weird. When I do it, I have to spell out comma and period if I don't want the punctuation... I just tried the exact same phrase and got "As I said, please don't disturb me." Is there a setting under dictation that says something like "spell out punctuation"?

Similar Messages

  • Rows per batch and Maximum insert commit size

    Have been reading various post to understand what the properties 'Maximum insert commit size' and 'Rows per batch' actually do and am confused as each have their own explanation to these properties. As far as I understood, MICS helps SQL server engine to
    commit the number of rows specified to it and RPB is to define the number of rows in a batch?
    In case I set the property to say RPB - 10000 and MICS - 5000, does this mean the input data is fetched in a batch of 10000 and each time only 5000 are committed?
    What happens in case of RPB - 5000, MICS - 10000. Are the batches formed for each 5000 records and committed for each 10k records?
    One post mentioned on RPB being merely a property to help SQL server device a optimal plan for data load. If this is true then why have the MICS property? Instead RPB can be assigned a value and engine decides on what is best load method it wants to use.
    Thanks!
    Rohit 

    Hi Rohit,
    Maximum insert commit size specify the batch size that the component tries to commit during fast load operations. The value of 0 indicates that all data is committed in a single batch after all rows have been processed. A value of 0 might cause the running
    package to stop responding if the component and another data flow component are updating the same source table. To prevent the package from stopping, set the Maximum insert commit size option to 2147483647.
    Rows per batch specify the number of rows in a batch. The default value of this property is –1, which indicates that no value has been assigned.
    For more details about those two properties, please refer to the following document:
    http://msdn.microsoft.com/en-IN/library/ms188439.aspx
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Bulk Insert - Commit Frequency

    Hi,
    I am working on OWB 9.2.
    I have a mapping that would be inserting > 90000 records in target table.
    When i execute the SQL query generated by OWB in Database it return result in 6 minutes.
    But when i executed this OWB mapping in 'Set based fail over row based' with Bulk-size = 50, commit frequency = 1000 and max error = 50 it is taking almost 40 minutes. Now while this mapping was running i checked the target table records count and it was increasing by 50 at a time and it is taking long time to finish.
    What changes I need to do to make this inserting of records Fastest.

    If it is inserting 50 a time, it means that setbased is failing and then it is switching to rowbased.
    If it is always failing in set based, it will be better to run in row based so as not spending time in set based.
    In row based mode, you can increase bulk size (like 5000 or 10000 or more ) for efficient execution. Keep commit freq same as bulk size.

  • Inserting comma seperated values

    I created a stored procedure that creates an order_id. Using this id, the products and their pricetag are inserted. Hereafter the garnishes are inserted for each product.
    Creating an order id and inserting the products and their pricetag are working. The problem is at the inserting of garnishes. 
    The data is received by parameters, and I have also created a user defined type: where garnishId holds the comma seperated ids.
    CREATE TYPE [dbo].[ppg] AS TABLE(
    [ProductId] [int] NULL,
    [PriceId] [int] NULL,
    [garnishId] [VARCHAR](MAX) NULL
    this is the stored procedure:
    ALTER PROCEDURE [dbo].[sp_create_order]
    (@userId uniqueidentifier, @productPriceGarnishes dbo.ppg READONLY, @comment varchar(250))
    AS
    BEGIN
    DECLARE @orderId int
    DECLARE @orderDetailId int
    INSERT INTO orders (user_id, confirmed,comment) values(@userId,0,@comment);
    --Select last inserted PK
    SELECT @orderId=SCOPE_IDENTITY()
    -- insert products and price tag using @orderId
    INSERT INTO order_detail (order_id, product_id,price_id)
    SELECT @orderId, p.ProductId,
    p.PriceId
    FROM @productPriceGarnishes p
    SELECT @orderDetailId=SCOPE_IDENTITY()
    -- insert garnishes using the orderDetailId
    INSERT INTO order_detail_garnish (order_detail_id,garnish_id)
    SELECT @orderDetailId, (SELECT * FROM SplitDelimiterString(p.garnishId))
    FROM @productPriceGarnishes p
    END
    RETURN @orderId
    I found a function that splits the string by a delimiter in this website:
    http://www.codeproject.com/Tips/586395/Split-comma-separated-IDs-to-ge
    Where you can retrieve the ids by this query:
    (SELECT * FROM SplitDelimiterString(p.garnishId)
    The problem is that I don't know how to add these ids with their corresponding orderDetailId, after each product is added.

    Unfortunately it appears you assume too much.  Presumably the reason you chose to define @productPriceGarnishes as a table is to support the creation of multiple rows. And you use these rows to insert into the order_detail table which has an identity
    column as the primary key (again, presumably).  So the question then becomes how do you get the identity values for ALL of the inserted rows?  You can't do that with SCOPE_IDENTITY - your code currently is designed with the assumption that there
    is only one row to be inserted.  To work around that limitation you need to use the output clause (examples can be found by searching). 
    Next comes another problem.  How do you know which identity value is assigned to which row of your table variable during the insert?  You need some sort of natural key to associate the inserted rows with the rows in the table variable.  Do
    you have one?  Before you think you do, you need to think about what restrictions are placed on the content of the table variable (if any).  Is it possible to have multiple rows with the same values for ProductId and PriceId?  Do not assume
    - you need to be certain that this is or is not a possibility.
    Assuming that the rows are unique (which simplifies things greatly), you associate the inserted order_detail rows to the table variable via something like:
    select ... from @ins_detail as ins inner join @productPriceGarnishes as ppg
    on ins.ProductId = ppg.ProductId and ins.PriceId = ppg.PriceId
    Note that @ins_detail is a table variable that you would declare and populate via the output clause. It will contain the identity values for each row that you inserted.  With that, you can then generate the rows that you need to insert into the garnish
    table by applying the results of your splitter function.  Which is a step that I'll skip for now since you have much reading and work to do. 
    Now some last comments.  I am suspicious of a column named PriceId.  That is not a good sign - price is an attribute of something and not the basis of a relationship between tables.  The use of identity columns (especially as primary keys)
    can be a problem - and this is one good example.  Based on what I've just written and its assumptions, the natural key for order_detail is (order_id, product_id, price_id) - why do you need an identity column?  Again, searching will find past
    discussions about identity columns and their usage.

  • Insert comma within string

    I have an insert statement which contains two string ,
    INSERT INTO hip.ref_hip_specialties VALUES('NP-WOMEN'S HEALTH','NP-WOMEN'S HEALTH');
    But getting error
    ERROR at line 1:
    ORA-00917: missing comma
    I know its because of 'S in the strings.How can i include it while inserting ?Please help

    Hello,
    Assuming you're on 10g or greater, then this will work, using Q Notation:
    INSERT INTO hip.ref_hip_specialties VALUES(Q'[NP-WOMEN'S HEALTH]',Q'[NP-WOMEN'S HEALTH]');

  • Insert comma at every third position in string...

    I am flumoxed on something rather simple I fear.  I have a string like this ...
    B01B09B20B21C13E10F07G12G20G24
    I need to turn it into this
    B01,B09,B20,B21,C13,E10,F07,G12,G20,G24
    It is consistant in the following:
    1. each segment will always be 3 characters long
    2. each segment will always be structured as 1 character and 2 numerals
    3. the list will always vary in length but always divisible by 3
    Any simple solutions?  I have though about various cflooping methods and simply not liked anythign I cam up with.
    All help is greatly appreciated.
    God Bless!
    Chris

    Here are a couple options.  I prefer the first.
    <cfset string = "B01B09B20B21C13E10F07G12G20G24" />
    <cfset newstring = "" />
    <cfloop from="1" to="#len(string)#" index="i" step="3">
    <cfset newstring = listAppend(newstring, mid(string, i, 3), ",") />
    </cfloop>
    <cfoutput>#newstring#</cfoutput>
    ========================================================================================== =
    <cfset string = "B01B09B20B21C13E10F07G12G20G24" />
    <cfset counter = 0 />
    <!--- Iterate length - 4 times (-4 so that it does not do a final loop and stick a comma on the end) --->
    <cfloop from="0" to="#len(string)-4#" index="i" step="3">
    <cfset string = insert(",", string, i+counter+3) />
    <cfset counter++ />
    </cfloop>
    <cfoutput>#string#</cfoutput>

  • Regex question: How do I insert commas between meta data?

    Current search engine is being replaced with Google Search Appliance (GSA). It requires meta data to be separated by a comma + space, whereas the previous search engine required only a space.  For example:
    <meta name="C_NAME" content="Screen1 Screen2">
    must become
    <meta name="C_NAME" content="Screen1, Screen2">
    There are 17 unique screen names and each of 2500 html files may have one or more screen names identified in that meta tag field.
    I am hoping for some regular express magic to help me with that global search/replace effort.  Suggestions are greatly appreciated.
    Thanks,
    Rick
    ================================
    Nevermind... figured it out.  Just needed to study regex syntax a bit. Here's the answer:
    Find:  <meta name="C_NAME" content="(\w+)\s(\w+)\s
    Replace:  <meta name="C_NAME" content="$1, $2,

    The only transition you can add this way is default cross dissolve. If the images are in the timeline, move the playhead to the beginning of the images, select them all, and drag from the timeline to the canvas to overwrite with transition.

  • How do I get the iPad to stop inserting commas in a number entered in a field on safari?

    I am filling out a form on Safari. It asks for my bank routing number, which I filled in. Moving on to the next field, I look up to find the iPad has entered commas in this number. It will not allow me to remove them. I turned off Autofill, etc. nothing seems to work.

    I think that this thread addresses your question: https://discussions.apple.com/thread/3408352?start=0&tstart=0
    Unfortunately, it doesn't look like there's a fix for the problem yet, though..

  • Inserting comma seperated values into table

    Hi,
    There is a variable like this,
    var= 'C0001,C0002,C0003';
    I want c0001 c0002 and c0003 to get inserted into some temp table as seperate rows, how do I do that.
    Thnx again ur your response.

    Hi,
    There is a variable like this,
    var= 'C0001,C0002,C0003';
    I want c0001 c0002 and c0003 to get inserted into some temp table as seperate rows, how do I do that.
    Thnx again ur your response.

  • How to insert comma delimited values into a table

    I have a variable holding values like,
    'A,Ba,Ccc' OR
    '1,2,3,4'
    I want to know how to convert and insert these values in oracle table as seperate rows like,
    A
    Ba
    Ccc[ OR ]
    1
    2
    3
    4
    Thanks,
    Previn

    Answered (I guess) in this dbms_utility.comma_to_table.
    Cheers, the ever helpful APC

  • Dataadapter Fill() is inserting comma in varchar2

    Howdy,
    How do I turn this behavior off?
    Yes, the contents of the varchar2 column "looks" like a number (ie 3001, 4002 etc)
    and yes some of the columns contain alphas.
    Honest, the dataset's datatable column shows this correctly as a "string" type.
    Honest, the data stored in the table does NOT contain any comma.
    dennis

    Look at the read demo in the link
    http://www.psoug.org/reference/utl_file.html
    http://www.devshed.com/c/a/Oracle/Reading-Text-Files-using-Oracle-PLSQL-and-UTLFILE/1/

  • Insert comma seperator in a currency

    Hello All,
    I need to condense an amount.So i am assigning it to a char value and condensing it.As I am assigning it to a char value,the thousand seperator (i.e ',' ) is removed from the value.I want that back.
    Here is the sample code am using ...
    data : rwbtr type reguh-rwbtr ,
           value type string .
    rwbtr = 1000.
    value = rwbtr .
    condense value no-gaps.
    write / rwbtr .
    write / value  .
    What next i need to do so that i will get a condensed comma seperated value.
    Thanks,
    nsp .

    Use WRITE rwbtr TO value CURRENCY <your currency>.
    Regards,
    John.

  • Problem in Creating new row & inserting data using CreateInsert and Commit

    Hello All,
    I have created a page there are few input text and i want to insert the data into a database table. I have created an Application Module I am using CreateInsert and Commit operation but there is one problem.
    At first it created a row in database after that it is not creating the new row instead it is updating the same row with the new values.
    In bindings of my jspx page I have created two binding for action (1) CreateInsert for the VO of that Application Module (2) Commit operation of that Application Module.
    Here is the code snippet of my application:
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("CreateInsert");
    Object result = operationBinding.execute();
    *if (!operationBinding.getErrors().isEmpty()) {*
    return null;
    OperationBinding operationBinding1 = bindings.getOperationBinding("Commit");
    Object result1 = operationBinding1.execute();
    *if (!operationBinding1.getErrors().isEmpty()) {*
    return null;
    I have tried using Execute+Commit and Insert+Commit case also in every case it is updating the same row and not inserting a new row.
    Is there anything I am missing?
    Please Help.

    hi user,
    i dono. why are trying with codes. adf provides zero lines codes.
    a wonderful drag and drop functionality provide by the framework.
    while double click the button the codes are  registered in your bean
        public String cb6_action() {
            BindingContainer bindings = getBindings();
            OperationBinding operationBinding = bindings.getOperationBinding("CreateInsert");
            Object result = operationBinding.execute();
            if (!operationBinding.getErrors().isEmpty()) {
                return null;
            return null;
        public String cb8_action() {
            BindingContainer bindings = getBindings();
            OperationBinding operationBinding = bindings.getOperationBinding("Commit");
            Object result = operationBinding.execute();
            if (!operationBinding.getErrors().isEmpty()) {
                return null;
            return null;
        public String cb7_action() {
            BindingContainer bindings = getBindings();
            OperationBinding operationBinding = bindings.getOperationBinding("Delete");
            Object result = operationBinding.execute();
            if (!operationBinding.getErrors().isEmpty()) {
                return null;
            return null;
        public String cb14_action() {
            BindingContainer bindings = getBindings();
            OperationBinding operationBinding =
                bindings.getOperationBinding("Delete4");   // some different here. after deleting usually do commit
            OperationBinding operationBinding1 =  
                bindings.getOperationBinding("Commit");    // so here commit operation.
            Object result = operationBinding.execute();
            Object result1 = operationBinding1.execute();
            if (!operationBinding.getErrors().isEmpty()) {
                return null;
            if (!operationBinding1.getErrors().isEmpty()) {
                //add error handling here
                return null;
            return null;
        }if am not understud correctly. please some more explanation need.

  • How to optimize massive insert on a table with spatial index ?

    Hello,
    I need to implement a load process for saving up to 20 000 points per minutes in Oracle 10G R2.
    These points represents car locations tracked by GPS and I need to store at least all position from the past 12 hours.
    My problem is that the spatial index is very costly during insert (For the moment I do only insertion).
    My several tries for the insertion by :
    - Java and PreparedStatement.executeBatch
    - Java and generation a SQLLoader file
    - Java and insertion on view with a trigger "instead of"
    give me the same results... (not so good)
    For the moment, I work on : DROP INDEX, INSERT, CREATE INDEX phases.
    But is there a way to only DISABLE INDEX and REBUILD INDEX only for inserted rows ?
    I used the APPEND option for insertion :
    INSERT /*+ APPEND */ INTO MY_TABLE (ID, LOCATION) VALUES (?, MDSYS.SDO_GEOMETRY(2001,NULL,MDSYS.SDO_POINT_TYPE(?, ?, NULL), NULL, NULL))
    My spatial index is created with the following options :
    'sdo_indx_dims=2,layer_gtype=point'
    Is there a way to optimize these heavy load ???
    What about the PARALLEL option and how does it work ? (Not so clear for me regarding the documentation... I am not a DBA)
    Thanks in advanced

    It is possible to insert + commit 20000 points in 16 seconds.
    select * from v$version;
    BANNER                                                                         
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod               
    PL/SQL Release 10.2.0.1.0 - Production                                         
    CORE     10.2.0.1.0     Production                                                     
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production                        
    NLSRTL Version 10.2.0.1.0 - Production                                         
    drop table testpoints;
    create table testpoints
    ( point mdsys.sdo_geometry);
    delete user_sdo_geom_metadata
    where table_name = 'TESTPOINTS'
    and   column_name = 'POINT';
    insert into user_sdo_geom_metadata values
    ('TESTPOINTS'
    ,'POINT'
    ,sdo_dim_array(sdo_dim_element('X',0,1000,0.01),sdo_dim_element('Y',0,1000,0.01))
    ,null)
    create index testpoints_i on testpoints (point)
    indextype is mdsys.spatial_index parameters ('sdo_indx_dims=2,layer_gtype=point');
    insert /*+ append */ into testpoints
    select (sdo_geometry(2001,null,sdo_point_type(1+ rownum / 20, 1 + rownum / 50, null),null,null))
    from all_objects where rownum < 20001;
    Duration: 00:00:10.68 seconds
    commit;
    Duration: 00:00:04.96 seconds
    select count(*) from testpoints;
      COUNT(*)                                                                     
         20000                                                                      The insert of 20 000 rows takes 11 seconds, the commit takes 5 seconds.
    In this example there is no data traffic between the Oracle database and a client but you have 60 -16 = 44 seconds to upload your points into a temporary table. After uploading in a temporary table you can do:
    insert /*+ append */ into testpoints
    select (sdo_geometry(2001,null,sdo_point_type(x,y, null),null,null))
    from temp_table;
    commit;Your insert ..... values is slow, do some bulk processing.
    I think it can be done, my XP computer that runs my database isn't state of the art.

  • Comma in long text of routing comma is appearing sepecial character

    Hi Experts,
    When I am trying to insert comma in long text of routing comma is appearing as sepecial character like <<,>> in long text preview. Please advice how insert comma.
    Regards,
    Sandy
    Edited by: Sandy2 on Apr 20, 2011 10:30 AM

    Try to use Line Editor instead of GUI editor ie
    from long text screen Goto--> Change Editor and try

Maybe you are looking for

  • Problem with getting streaming videos to switch between each other

    i have attached an fla file which illustrates the problem i'm having. it is basically as you see ...  i want to load and play an embedded movie on frame 1 and then move the play head to frame 2 or 3 etc etc where there is a new menu and replace movie

  • 80GB iPod Classic stuck in recovery mode, tried EVERYTHING

    Hello, i'm Michael, and i need some help right now :c i just got an iPod Classic with 80GB of HDD, just a gift, but it had some "issues" (the screen showed a dock connector and it reads "Use iTunes to Restore"), i had an iPod Touch 4G, and i had that

  • Just a Performance Question on BumbleBee

    I use Bumblebee and have ran a few SIMPLE tests. Every time I run them, using "primusrun" performs slower than "optirun". In my bumblebee.conf, the Bridge mode is set to "auto". Is that causing the issue? From what I've read, primus is supposed to be

  • Serviio with WDTV: Photos don't display

    Hi  I am running the latest WDTV Live firmware (2.0.38??) and Serviio 1.51 on a Win 7 Pro Box.  When I try to display photos in the Media Server Serviio library I get no display.   These photos do display when I use Jriver as a Media Server for WDTV 

  • Data Template Question

    Okay, I'm stumped and the answer is probably right in front of me. Whenver I put the LESS THAN symbol in a sql statement, the template obviously thinks I'm starting a new tag. Anyone have a suggestion on how to do a LESS THAN in a template? I could u