How to run a query to update on the results to a spreadsheet

Hey there,
I'm new to this kinda thing.
I received a spreadsheet that has 2 tablets, 1 is called SQL generates and has a ton of data. 1 is called SQL statement and a select statement in the first cell.
I said to run an update query by using the worksheet and received this:
= CONCATENATE("Update CARDMEMBERISSUE set CURRSTATUSCD = 'ACT', DATELASTMAINT = sysdate where AGREENBR =",A2,"and MEMBERNBR =",B2,"and ISSUENBR =",C2,";")

= CONCATENATE("Insert into CARDMEMBERISSUEHIST (AGREENBR, MEMBERNBR, ISSUENBR, EFFDATETIME, CARDSTATCD, STATREASON, DATELASTMAINT, DATESENT) values (', A2, ',', B2, ',', C2", sysdate, 'Law', null, sysdate, null);' ")

I don't know what to do or how to do this.
It's that the lines in the worksheet as look, including the column header, A1 is empty.
A B C etc.
NBR MEMBERNBR QUESTION NBR CURRSTATUSCD PREFIX CARD NBR AGREETYPCD NBR EXT CARD ISSUE DATE PERS OWNER AGREE
2 12 1 44 ISS g 22 22 19/10/2011

= CONCATENATE bits are Excel formulas. Assuming that they properly drafted, they generate a set of individual sql statements. The first concaenatewill generates a set of instructions to update on the CardMemberIssue table, and the second will generate a set of insert statement in the CardMemberIssueHist table.

You should be able to simply paste the instructions generated in any tool that you use to run sql to run. Before you do this right, make sure that you are running:

alter session set cursor_sharing=force;

before sticking anything in.

John

Tags: Database

Similar Questions

  • How can we ask a free update of the LR5 LR6?

    How can I request a free update of the LR5 - LR6?

    Products

    Lightroom is located near the bottom of the screen. Click on the button buy and indicate you want to purchase an upgrade. The price will change. Follow any other instructions and make your purchase.

  • In the bar when I write sth such as address: soccer, it leads to search results from yahoo? How do I will change it give me the results of google search?

    In the bar when I write sth for example to address: "soccer", it leads to search results from yahoo. How do I will change it give me the results of google search?

    Hi vavamvak,

    You should take a look at article in the database Search the Web from the address bar . It will show you how to change the default address bar search provider.

    Hope this helps!

  • IN PHOTOSHOP ELEMENTS 13 HOW CREATE A VIRGIN PAGE ON WHICH PASTE THE RESULT TO DO A PRINT SCREEN?

    IN PHOTOSHOP ELEMENTS 13 HOW CREATE A VIRGIN PAGE ON WHICH PASTE THE RESULT TO DO A PRINT SCREEN?

    The editor > file > new > Blank File

  • How to disable automatic checking of update on the opening of Firefox? I want to disable that page "what's new".

    How can I disable this automatic update that always brings back me to the web page "what's new"? It was interesting the first time, but now it's just irritation. I can check the updates on my own, so I want to disable this feature. It just started when I upgraded to Firefox 5 upwards. I can't find a place to stop it to check and to bring me to this web page. In addition, I can't stop it archiving modules whenever I open the browser.

    Preferences are not saved

    https://support.Mozilla.com/en-us/KB/preferences%20are%20not%20saved

    Check and tell if its working.

  • How can I check customers get updates from the caching Service?

    I've just set up a server 10.11 with Server.app version 5.0.15 to act as a provisioning server caching to provide updates to the clients Mac (no iOS device).

    I see that he has downloaded updates the Stats section when I chose bytes served in the drop down menu.

    I want to check that it works and that clients receive the updates of this sever when at the office.

    I did a lot of research but have not found anything definitive. I've seen suggestions may be looking at the Library/Server/Caching/Logs/Debug.log, but nothing in it can tell me whether or not a customer received an update of the caching Service. It is suggested in the Server Essentials of PeachPit book looking at Activity Monitor to check the packet network and instrumental, but which shows that the server successfully contacted Apple and checked the IP address.

    I need to know and to verify that this Service of caching works effectively by updates provided to customers on our network. Does anyone know how to do this?

    Thanks in advance.

    EDIT: I just checked the server again and downloaded only 226 MB of data. I created this yesterday afternoon. Shouldn't be much more data?

    https://help.Apple.com/ServerApp/Mac/5.0/?lang=en#/apd5E1AD52E-012B-4A41-8F21-8e 9EDA56583ALog

    LogLevel-> verbose
    I get enough information about the activities

  • How to run a same sequence number for the dynamic lines resulting

    Hi friends,

    I have a sequence and the trigger (which will trigger the id for each line insertion).

    My scenario is, if I update more than 5 lines of a way of time, I need to define a same example (1) sequence number for all the 5 rows.

    Next time, if I update another way for 5 rows, then I need to define a sequence of the same number (i.e.) 2 for the next 5 lines.

    So my update will be dynamic (can be 2, 5, 10 rows at a time), but I need a same sequence number for one of the column for all of the lines that I'm updating the value.

    Next time, if I update another series of lines means, then I need to put only the next sequence number (i.e) 2 (assume this sequence previously updated to the front of the set of rows is 1) for another set of lines.

    As this sequence should update in a sequential manner for more than a set of rows in this column.

    How friends.

    example of
    id-----------------name
    1-------------------A
    1-------------------B
    1-------------------C
    1-------------------D
    1-------------------E
    2-------------------D
    2-------------------E
    2-------------------F
    2-------------------G
    3-------------------H
    3-------------------I
    Brgds,
    Mini

    Generate the value of the sequence and store it in a variable and use this variable in the UPDATE.

    varSequence := .nextval;
    
    update  set  = varSequence where 
    
  • Run database query, invalid use of the:

    I have a tutorial of ColdfusionMX problem when I get to add tags on the top of the code view. And I write the same thing as the tutorial.
    I get an error message that says:
    Query execution error database.
    error occurred during the processing of the application.
    Invalid use of ',' () in a query expression

    I need help desperately,
    Geordeslys,

    The web site, you access has met an unexpected error.
    Please contact the site administrator.

    The following information is for the creation of Web sites for debugging purposes.

    Error occurred while processing request
    Run database query error.
    Invalid use of '. «, » !', ou « () ». in a query expression ' ARTISTS. ARTISTID = ART. ARTISTID AND ART. MEDIAID = MEDIA. MEDIAID.

    The error occurred in C:\CFusionMX7\wwwroot\CFIDE\gettingstarted\tutorial\TMPhy0vtntf3u.cfm: line 1

    1:
    2: SELECT FIRSTNAME, LASTNAME, ARTNAME, DESCRIPTION, PRICE, LARGEIMAGE, ISSOLD, MEDIATYPE
    3: ART, ARTISTS, MEDIA

    --------------------------------------------------------------------------------
    Dear CF_dev2,

    Is that what you mean by full CF code?

    Georgeslys,
    SQL SELECT FIRSTNAME, LASTNAME, ARTNAME, DESCRIPTION, PRICE, LARGEIMAGE, ISSOLD, MEDIATYPE OF ARTISTS, ART, MEDIA WHERE ARTISTS. ARTISTID = ART. ARTISTID AND ART. MEDIAID = MEDIA. MEDIAID
    Cftutorial DATA source
    VENDORERRORCODE 3092
    SQLSTATE

    Resources:
    See the ColdFusion documentation to verify that you are using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.

    Browser Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322;. PC Media Center 4.0; IEMB3; IEMB3)
    Remote address 127.0.0.1
    Referrer
    Date/time 03-Sep-07 19:11

    Stack trace (click to enlarge)
    at cfTMPhy0vtntf3u2ecfm1461475070.runPage (C:\CFusionMX7\wwwroot\CFIDE\gettingstarted\tutoria l\TMPhy0vtntf3u.cfm:1) at cfTMPhy0vtntf3u2ecfm1461475070.runPage (C:\CFusionMX7\wwwroot\CFIDE\gettingstarted\tutoria l\TMPhy0vtntf3u.cfm:1)

    com.inzoom.adojni.ComException: invalid use of '. «, » !', ou « () ». in a query expression ' ARTISTS. ARTISTID = ART. ARTISTID
    AND ART. MEDIAID = MEDIA. MEDIAID. in the Microsoft JET Database Engine = 3092 code Type = 1
    at com.inzoom.ado.Command.jniExecute (Native Method)
    at com.inzoom.ado.Command.execute(Command.java:40)
    at com.inzoom.jdbcado.Statement.exec(Statement.java:34)
    at com.inzoom.jdbcado.Statement.execute(Statement.java:107)
    at coldfusion.server.j2ee.sql.JRunStatement.execute(JRunStatement.java:212)
    at coldfusion.sql.Executive.executeQuery(Executive.java:753)
    at coldfusion.sql.Executive.executeQuery(Executive.java:675)
    at coldfusion.sql.Executive.executeQuery(Executive.java:636)
    at coldfusion.sql.SqlImpl.execute(SqlImpl.java:236)
    at coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:500)
    at cfTMPhy0vtntf3u2ecfm1461475070.runPage (C:\CFusionMX7\wwwroot\CFIDE\gettingstarted\tutoria l\TMPhy0vtntf3u.cfm:1)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
    at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
    at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
    at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
    at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
    at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
    at coldfusion.filter.ClientScopePersistenceFilter.invoke (ClientScopePersistenceFilter.java:2 8)
    at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
    to coldfusion. CfmServlet.service (CfmServlet.java:107)
    at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
    at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
    to jrunx.scheduler.ThreadPool$ DownstreamMetrics.invokeRunnable (ThreadPool.java:318)
    to jrunx.scheduler.ThreadPool$ ThreadThrottle.invokeRunnable (ThreadPool.java:426)
    to jrunx.scheduler.ThreadPool$ UpstreamMetrics.invokeRunnable (ThreadPool.java:264)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

  • How to run multiple copies of distilling on the same machine?

    What version of Adobe PDF Converter do I need to run multiple copies of distilling on the same machine?

    I see that Distiller Server is EOL so what should I use to accomplish the same task.

    Hi mmaraffi,

    You will not be able to run multiple copies of Distiller, because this is a violation of the EULA.

    Let me know the version of Acrobat is installed on your computer?

    Kind regards

    Nicos

  • How can I save cfquery text sql, not the results

    Hello

    I have the need to save a dynamically generated real sql, cfquery, not the results.

    I can see it in < cfdump var = "# < qry_name > #" > but, how can I capture the real sql

    and save it in a var for later use?

    Thank you

    Bob

    The property of the results of the tag to put this information in a variable for later use.

    I.E.

    ...
    
    
  • How to run this query correctly?

    Hi Sir,

    I use a query that I converted from sql to oracle but in error.

    Error (4.3): PLS-00428: an INTO clause in this SELECT statement

    Here's my query:

    SELECT distinct Code pa.id, pa. Empcode Emp_ID, E.Emp_FirstName | ' ' || E.Emp_LastName Emp_Name, pa. Work Date1 date, pa. InPunch In_Punch, pa. OutPunch Out_Punch, pa.approve, ls. Leave_Status_text StatusText, NVL (pt.punchtype, 'day') JOIN employee E ON PunchForApproval pa e.Emp_ID punchtype is pa. Empcode LEFT JOIN Leave_status ls TO ls. Leave_Status_id = pa.approve LEFT JOIN punchtype pt ON pt.id = pa. STATUS
    WHERE E.Emp_ID IN (SELECT Emp_id FROM employee) ORDER BY pa.id DESC;

    Thank you

    Hello
    You run this in a PL/SQL procedure? If so, what the procedure called the request?

    Also, did you see the error even if you add a space to the request here.

    WHERE E.Emp_ID IN (SELECT Emp_id FROM employee) ORDER BY pa.id DESC;

    -implement-

    WHERE E.Emp_ID IN (SELECT Emp_id FROM employee) ORDER BY pa.id DESC;

    Kind regards
    Mike

  • This computer is old; How can I stop messages from "update of the plugin"?

    This computer is running Mac OS 10.4.11 on a Power PC chip. I get a small window at the top of the screen that says: "some plugins used by this page are out of date. The problem is that this old computer won't accept any of the proposed new plugins (Flash, QuickTime, Java, etc.). How can I stop the message from popping up?

    Enter ' subject: config "in the address bar of the browser, confirm the information dialog box, then find the preference named"plugins.hide_infobar_for_outdated_plugin"and double click it to switch to 'true '.

    Please note that firefox won't also support architecture ppc any longer, however if you want to use an updated firefox-based browser, you can switch to "tenfourfox" - Firefox no longer works with the processors in Mac OS X 10.4 or PowerPC

  • How to run commads Terminal to start automatically the easy way!

    I recently installed Arnold Renderer on my Mac. Since El Capitan does not support environment variables in/etc/launchd.conf, to load the RLM license file I have to run these commads in the Terminal after every startup:

    i-MacBook-Pro: ~ I$ pwd

    / Users / I

    i-MacBook-Pro: ~ I$ cd solidangle/RLM

    I have-MacBook-Pro: RLM I$. / rlm - dlog + "" / Users/i/solidangle/RLM/solidangle.log "&"

    How can I make these commands run automatically at startup. I'm not familiar with the coding and the Terminal stuff so please keep it simple.

    You can try to use a utility such as X Lingonto create a launch daemon that runs automatically at startup.

  • How to run both simultaneously and declaratively in the TF?

    Hello

    I use JDev 11.1.2.1.0

    I have a JSF page that has a separator. A split should have CreateInsert method to execute when the page is loaded. The second division consists of an opinion that has a query to run. Again, it is a method of the AM. I tried to give both methods, but running alone. Can I do this declaratively?

    Thank you

    There is no simultaneous execution of methods in the ADF. However, you can drag each of the methods on the workflow and call each after the other, implement your use case. Start the workflow with the query (make drag method am or executeWithParam on the workflow and mark the default activity. Then drag the insert method to create the same workflow and add a navigation of the first method of the second scenario. In the second method you can access the page. This should be it.

    Timo

  • Qosmio G20: How to run programs and movies only on the second screen

    It is possible to select what programs are displayed on the secondary display (tv)? If so, how.

    If I have a movie on TV he also plays on his laptop computer and all. How can this be stopped IE only play on tv?

    Norskman

    Hello

    Usually, you can change the display with the function FN + F5 devices.
    Then, you can change the option for laptop / LCD, LCD, laptop computer screen / TV, TV

    If you use the software as WinDVD, so you first change the display device and then use the software.

Maybe you are looking for