Create a table in SQL Server, Export tables from Microsoft Excel to Microsoft SQL Server, Populate the created table

Hello team,
I have a project that I need to do, what is the best approach for each step?
1- I have to create a table in Microsoft SQL Server.
2- I have to import data/ tables from Microsoft Excel or Access to Microsoft SQL Server. Should I use Microsoft Visual Studio to move data from Excel or Access?
3-I should populate the created table with the data from the exported data.
4-How should I add the second and third imported table to the first table? Should I use union query?
After I learn these, I will bring up the code to make sure what I do is right.
Thanks for all,
Guity
GGGGGNNNNN

Hello Naomi,
I have imported all the tables into SQL Server,
I created a table:
CREATE
TABLE dbo.Orders
Now I want to populate this table with the values from imported tables, will this code take care of this task?
INSERT INTO dbo.Orders(OrderId, OrderDate)
SELECT OrderId, OrderDate
FROM Sales.Orders
UNION
SELECT OrderId, OrderDate
FROM Sales.Orders1
Union
SELECT OrderId, OrderDate
FROM Sales.Orders2
If not, what is the code?
Please advise me.
GGGGGNNNNN
GGGGGNNNNN

Similar Messages

  • How do we populate the SIGN_POST table for routing server

    Hi,
    How do we populate the SIGN_POST table for routing server…? We having the Street data network... we have populated the NODE, EDGE and PARTITION tables from street data. Is there any procedure available for populating the SIGN_POST table from street data? ARE there any predefined methods available?
    Thanks and Regards
    Aravindan

    This data has to come from the data provider.
    There are no procedures to populate this information, if this
    data is not available for your data set.
    For example, NAVSTREETS from NAVTEQ has this data as part
    of their street network data.
    siva

  • RH11 - Cuts off tables when I generate review PDFs. How do I get it to include the entire table?

    We just upgraded from RH9 to Rh11. I'm using the Create PDF for Review... option on the Review menu. I have several two column tables in the topic I'm sending for review. The PDF cuts off half of the second column in the tables. We didn't have this issue with RH9. Has anyone else had this problem with the PDF review feature in RH11? Can you tell me why it's doing this & how to fix it?
    Thanks

    Hi Peter and everyone else.
    I started using RH 11 recently, and I am experiencing the same issue as CathyR-Fico reported: when generating the PDF output, RH keeps cropping some of my tables.
    NOTE: some of my table cells contain long non-breakable text strings such as TimeoutInsightServerUpDisconnectedCheck. Can't avoid that.
    I looked into the table properties and ensured that my table width is 100%, and adjusted the individual column width % to make sure that the total does not exceed 100%, but my tables are still cropped in PDF.
    Here is a passage from the RH 11 User Guide, Create a PDF for review section: "Tables, images, and other elements that do not fit in a page are cropped." I keep checking my HTML preview now and then - all of my tables fit into the HTML help window. But the PDF output looks otherwise:( I tried the AutoFit feature as well - won't help:(
    My question is: Is there any other way to ensure that my tables fit into any output page, be it PDF, Word or HTML?
    Thanks!

  • How to Load the data from excel file(Extension is .CSV) into the temp.table

    Hi
    How to Load the data from excel file(Extension is .CSV) into the temporary table of oracle in Forms11g.
    My Forms Version is - Forms [64 Bit] Version 11.1.2.0.0 (Production)
    Kindly Suggest the Solution.
    Regards,
    Sachin

    Hello Sachin,
    You can use the following metalink note:How to Read Data from an EXCEL Spreadsheet into a Form Using Webutil Client_OLE2 (Doc ID 813535.1) and modify it a little bit.
    Instead of copy values into forms you can save them in your temporary table.
    Kind regards,
    Alex
    If someone's helpful or correct please mark it accordingly.

  • How can I export photos from Aperture with a new sequence and ignore the embedded JPEG number? Have tried renumbering to no avail.

    How can I export photos from APERTURE with a new sequence and ignore the embedded JPEG number? Have tried renumbering to no avail.
    has anyone resolved this issue?
    This is now the second big Problem with using Apple's Appeture with NO apparent FIX...
    Aperture has NO DIRECT way to Burn to a CD/DVD & apparently NO way to RE-SEQUENCE the numbering system????
    ANYONE... I wish APPLE would address/fix these 2 problems... LIGHTROOM I guess is next?

    Hi David,
    Coming in and whining loudly is rude.  We are all volunteers here, voluntarily sharing our expertise so that users like you can make the most of their time with Aperture.  Speaking just for myself:  although I do care about your success with software (it's why I'm here), I don't care what software you use.  If you want to use Lightroom, do so, and post your questions in an appropriate forum.
    Burning files to a CD is a file operation done at the system level (it is built into OS X).  Aperture lets your create sharable image-format files from your Images.  You then use OS X's tools to burn those files to a CD.  Iirc, you can set up a "Burn Folder" in Finder, into which you can export files created from your Images, and with a single click burn your CD.
    Naming the files you create by exporting your Images can be tricky.  There are _many_ possibilities.  Some things can't be done.  Sequencing can be done in a number of ways (see Léonie's answer above).  What have you tried?  What was the result?  In what way did this differ from what you expected?
    --Kirby.

  • Do we require to install microsoft excel in sharepoint 2013 server?. if require to use sharepoint 2013 excel services.

    Do we require to install microsoft excel in sharepoint 2013 server?. if require to use sharepoint 2013 excel services.
    In our organisation, development team is asking to install office 2013 in SharePoint 2013 server to use different services, where as architecture team not allowing for the same. I need to provide proper justification for installing office 2013 in SharePoint
    2013 server. Please provide me the correct solution for the same.

    No, you do not need to install Office on the SharePoint server to utilize the Excel Services. Office should not be installed on the SharePoint server.
    Do they need Office Web Apps? Are they looking to have the capability to edit documents in the browser maybe? Or have document preview on search? Office Web Apps would be required for this, but this is a different product than Office.
    Brandon Atkinson
    Blog: http://sharepointbrandon.com

  • Why can't I seem to subscribe to Export PDF from outside N America? I'm using the Uk site...

    Why can't I seem to subscribe to Export PDF from outside N America? I'm using the Uk site...

    Hi Steve,
    ExportPDF is definitely available in the United Kingdom. However, it's necessary that you have an Adobe ID, and credit card and billing address from the same country in which you're trying to purchase a subscription.
    If you are using an email address (Adobe ID), and credit card/billing address from the United Kingdom, and are still unable to subscribe, please let us know and we'll take it from there. (And, if you're receiving an error message when you try to subscribe, let us know. That will help us figure out what's going wrong.)
    Best,
    Sara

  • I have just tried to export photos from my iphone to a CD/R and the disc is stuck in my machine, and a device called `rude *******' has appeared in the finder panel.  This is not a joke can anyone assist?

    I have just tried to export photos from my iphone to a CD/R and the disc is stuck in my machine, and a device called `rude *******' has appeared in the finder panel.  This is not a joke can anyone assist?

    I don't know what the "rude" thing is about, but this should help with the CD.
    http://guides.macrumors.com/Force_Eject_a_Stuck_CD_or_DVD

  • How to populate the main table and the lookup's at the same time

    Hi ,
       What I have with me is the XML files which contain the data from the material master and the excel sheet which talks about the mapping . it basically tells me which field of the main table maps to which field of which segment in the IDOC and also the name of the table and the field in the R3 system .
    I wish to use this info to populate the data in the material repository .
    - How can I populate the data in the lookup table at the same time when I am populating the main table ? I have only the XML's that correspond to the main table . I don't have seperate data for the lookup tables .
    - Can I use the standard maps available for import in the business content of material repository in MDM ?
    - If the answer to the second question is NO then I think i can create the maps and save them for future use .
    Regards
    Deepak Singh

    Hi, Deepak
    >>> - How can I populate the data in the lookup table at the same time when I am populating the main table ? I have only the XML's that correspond to the main table . I don't have seperate data for the lookup tables .
    I don't think you can populate both main table and all fields of lookup tables at the same time, i.e. using same map. You can consider 2 options to upload all information you have:
    1) If your XML file contains data you would like to upload to lookup tables, you can upload it to MDM lookup tables with several maps using same XML and choosing different sections of that XML corresponding to different MDM lookup tables.
    2) Also you can upload main table simultaneously with lookup table entries (using same map), but in this case new lookup table entries will only contain display field values that you mapped. To do this you should use 'Add' value mapping functionality for fields that you mapped to lookup tables.
    >>>- Can I use the standard maps available for import in the business content of material repository in MDM ?
    1) In case you have material master repository delivered by SAP and you use XML files which structure corresponds to SAP predelivered XSD schemas then you can use these maps undoubtedly.
    2) If your repository is based on SAP predelivered, but you changed it ,you should adjust these maps due to differences in repository structure and  XML files structure.
    3) If you created your repository from scratch you should consider option of making your own import maps.
    Regards,
    Vadim Kalabin

  • Importing data from Microsoft excel file to Oracle Database with Multiple Data Tables. Need expert advice and guidance

    I posted a query on Importing data from Microsoft Excel to Oracle Database (Multiple Data Tables). I got some answer and reference from the forum.
    I presented to my Oracle consultant and representative from Oracle Malaysia. They said impossible. I do not believe what they said. I do believe can be done.
    Can someone help or direct me to an expert that can help me on this

    e90f478a-c529-4c48-b189-51eebeaed477 wrote:
    I posted a query on Importing data from Microsoft Excel to Oracle Database (Multiple Data Tables). I got some answer and reference from the forum.
    I presented to my Oracle consultant and representative from Oracle Malaysia. They said impossible. I do not believe what they said. I do believe can be done.
    Can someone help or direct me to an expert that can help me on this
    We don't know the "query on Importing data from Microsoft Excel to Oracle Database (Multiple Data Tables). "
    We don't know where you posted said query.
    We don't know what "some answer and reference" you received "from the forum."
    We don't know what it was that your "Oracle consultant and representative from Oracle Malaysia" said was "impossible".
    So on what basis are we supposed to "help or direct" to "to an expert that can help "?

  • How to use Microsoft Excel dll in SQL Server Reporting Services

    Hi,
    Can you please explain me the steps to use excel .dll in ssrs

    Hi PrakashThandra,
    Based on my understanding, you have created a chart in Excel, then you want to use this chart in Reporting Services, right?
    In Reporting Services, it’s not supported to use a chart which created in Excel directly. But we can use Excel as datasource to create a report, please refer to this article:
    Create SSRS report using Excel Data Source Step by Step. In your scenario, since you want to use the Excel chart in Reporting Services, you could create a same report in Reporting Services refer to this article:
    Charts (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • How to import the Issues list from an Excel File in Project Server 2013

    Hi,
    I'm using Project Server 2013.
    A Project Manager has been playing with the Issues List, deleting some fields, creating new columns and modifying some columns name. The result of this is that I'm getting this error everytime the task
    Reporting (Project Sync) is executed:
    General
    Reporting Wss list sync failed:
    ReportingWssSyncListFailed (24018) - 1100. Details: id='24018' name='ReportingWssSyncListFailed' uid='4feafda7-f147-e411-940d-005056957f05' SPListType='a1efd9a9-bd03-4604-91f3-31a2cc5693ff' Error='1100'.
    ReportingWssSyncListFailed (24018) - 1100. Details: id='24018' name='ReportingWssSyncListFailed' uid='5deafda7-f147-e411-940d-005056957f05' SPListType='a1efd9a9-bd03-4604-91f3-31a2cc5693ff' Error='1100'.
    ReportingWssSyncListFailed (24018) - 1100. Details: id='24018' name='ReportingWssSyncListFailed' uid='69eafda7-f147-e411-940d-005056957f05' SPListType='a1efd9a9-bd03-4604-91f3-31a2cc5693ff' Error='1100'.
    ReportingWssSyncListFailed (24018) - 1100. Details: id='24018' name='ReportingWssSyncListFailed' uid='75eafda7-f147-e411-940d-005056957f05' SPListType='a1efd9a9-bd03-4604-91f3-31a2cc5693ff' Error='1100'.
    ReportingWssSyncListFailed (24018) - 1100. Details: id='24018' name='ReportingWssSyncListFailed' uid='81eafda7-f147-e411-940d-005056957f05' SPListType='a1efd9a9-bd03-4604-91f3-31a2cc5693ff' Error='1100'.
    ReportingWssSyncListFailed (24018) - 1100. Details: id='24018' name='ReportingWssSyncListFailed' uid='8deafda7-f147-e411-940d-005056957f05' SPListType='a1efd9a9-bd03-4604-91f3-31a2cc5693ff' Error='1100'.
    Reporting message processor failed:
    ReportingWSSSyncMessageFailed (24016) - RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.. Details: id='24016' name='ReportingWSSSyncMessageFailed' uid='5beafda7-f147-e411-940d-005056957f05' QueueMessageBody='ProjectUID='a1efd9a9-bd03-4604-91f3-31a2cc5693ff'.
    ForceFullSync='False'. SynchronizationType='Issues'' Error='RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.'.
    ReportingWSSSyncMessageFailed (24016) - RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.. Details: id='24016' name='ReportingWSSSyncMessageFailed' uid='67eafda7-f147-e411-940d-005056957f05' QueueMessageBody='ProjectUID='a1efd9a9-bd03-4604-91f3-31a2cc5693ff'.
    ForceFullSync='False'. SynchronizationType='Issues'' Error='RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.'.
    ReportingWSSSyncMessageFailed (24016) - RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.. Details: id='24016' name='ReportingWSSSyncMessageFailed' uid='73eafda7-f147-e411-940d-005056957f05' QueueMessageBody='ProjectUID='a1efd9a9-bd03-4604-91f3-31a2cc5693ff'.
    ForceFullSync='False'. SynchronizationType='Issues'' Error='RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.'.
    ReportingWSSSyncMessageFailed (24016) - RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.. Details: id='24016' name='ReportingWSSSyncMessageFailed' uid='7feafda7-f147-e411-940d-005056957f05' QueueMessageBody='ProjectUID='a1efd9a9-bd03-4604-91f3-31a2cc5693ff'.
    ForceFullSync='False'. SynchronizationType='Issues'' Error='RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.'.
    ReportingWSSSyncMessageFailed (24016) - RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.. Details: id='24016' name='ReportingWSSSyncMessageFailed' uid='8beafda7-f147-e411-940d-005056957f05' QueueMessageBody='ProjectUID='a1efd9a9-bd03-4604-91f3-31a2cc5693ff'.
    ForceFullSync='False'. SynchronizationType='Issues'' Error='RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.'.
    ReportingWSSSyncMessageFailed (24016) - RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.. Details: id='24016' name='ReportingWSSSyncMessageFailed' uid='97eafda7-f147-e411-940d-005056957f05' QueueMessageBody='ProjectUID='a1efd9a9-bd03-4604-91f3-31a2cc5693ff'.
    ForceFullSync='False'. SynchronizationType='Issues'' Error='RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.'.
    Queue:
    GeneralQueueJobFailed (26000) - ReportingWSSSync.WSSSyncMessageEx. Details: id='26000' name='GeneralQueueJobFailed' uid='98eafda7-f147-e411-940d-005056957f05' JobUID='9e937da7-f147-e411-940e-005056957f0d' ComputerName='b579360a-53ab-4fe0-bf9b-c62f5e8d3529'
    GroupType='ReportingWSSSync' MessageType='WSSSyncMessageEx' MessageId='1' Stage='' CorrelationUID='0945bd9c-0d6a-a0f1-47b0-68cdfcfbff9a'. For more details, check the ULS logs on machine
    b579360a-53ab-4fe0-bf9b-c62f5e8d3529 for entries with JobUID
    9e937da7-f147-e411-940e-005056957f0d
    What I'm trying to do is to create a new Project from the scratch, update the Issues List, not deleting or modifying columns, just creating new columns in order to match the names he (the Project Manager) put in his Issues List, then Export the list to Excel,
    and then create a datasheet view matching the Exported list, but here I don't know how to import the list (copy / paste or whatsoever it can be done...)
    Do you know how to do it, or do you know another/any method to solve this problem?
    Thank you in advance,
    José Espases

    Hi José,
    2 considerations: 
    The first one is that (as you experienced) one should not delete or rename any of the predefined columns in the risk/issue list. What you did is the right way, meaning keeping the native column as is and creating new ones based on the business needs. Finally
    you just need to create view with the appropriate fields.
    Then for importing risks from an Excel list, I can't test it right now, but you should have a datagrid view (MS Access type) allowing you pasting data from Excel.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • Can I export values from an excel spreadsheet into a dropdown field in Acrobat?

    I'm creating a form in Acrobat with a dropdown field as an option, I would like to know if I could export the values from an Excel spreadsheet into this field (there are 600 records)?

    Sorry this is not something that we currently support. You have to enter your items manually. Once you created you field though you can copy in paste to other forms so you only have to create it once.

  • Web Analysis : populate the same table with multiple data sources

    Hi folks,
    I would like to know if it is possible to populate a table with multiple data sources.
    For instance, I'd like to create a table with 3 columns : Entity, Customer and AvgCostPerCust.
    Entity and Customer come from one Essbase, AvgCostPerCust comes from HFM.
    The objective is to get a calculated member which is Customer * AvgCostPerCust.
    Any ideas ?
    Once again, thanks for your help.

    I would like to have the following output:
    File 1 - Store 2 - Query A + Store 2 - Query B
    File 2 - Store 4 - Query A + Store 4 - Query B
    File 3 - Store 5 - Query A + Store 5 - Query B
    the bursting level should be give at
    File 1 - Store 2 - Query A + Store 2 - Query B
    so the tag in the xml has to be split by common to these three rows.
    since the data is coming from the diff query, and the data is not going to be under single tag.
    you cannot burst it using concatenated data source.
    But you can do it, using the datatemplate, and link the query and get the data for each file under a single query,
    select distinct store_name from all-stores
    select * from query1 where store name = :store_name === 1st query
    select * from query2 where store name = :store_name === 2nd query
    define the datastructure the way you wanted,
    the xml will contain something like this
    <stores>
    <store> </store> - for store 2
    <store> </store> - for store 3
    <store> </store> - for store 4
    <store> </store> - for store 5
    <stores>
    now you can burst it at store level.

  • How to populate the condition tables of CRM 7.0

    Hello Friends,
    How to populate values in CND* tables , i assume these are the tables that hold the conditions.
    Thanks and Regards,
    Vasu

    Hi,
    if you refer to CND* tables those are tables involved in the condition master data exchange between ERP and CRM (on CRM side). Actual condition tables for pricing related condition records start with CNC*. In the help there is a documentation of the condition master data tables for pricing available: http://help.sap.com/saphelp_crm70/helpdata/EN/0e/91f9392486ce1ae10000000a114084/content.htm
    Hope this helps.
    Best Regards,
    Michael

Maybe you are looking for

  • Mac Pro 1,1 hangs indefinately at startup: Help Me Diagnose?

    Hello all, trying to determine what could possibly be causing this issue with my Mac Pro Quad 2.66 xeon machine running Snow Leopard. It will turn on but does not boot up, instead hanging indefinately at the white screen with apple logo, displaying a

  • F1 HELP IN PERFORMANCE ASSISTANCE - REG

    HI FRIENDS.. I HAVE GOT A PROBLEM IN GETTING ONLINE HELP FOR F1(KEY), I.E IF I PRESS F1 ON A PARTICULAR FIELD IT HAS TO DISPLAY CONTENTS RELATED TO THAT HTML FILE .. BUT IN MY PC I AM NOT GETTING IT..  BUT THE USER USING THE SAME GUI VERSION AND THE

  • Certificate question in Web Dispatcher End-To-End SSL scenario

    Hy experts, in end-to-end SSL scenario the web dispatcher (WD) is not used to encrypt/decrypt data, it is only used to forward requests. So I think we do need a certificate for the portal server, but none for the web dispatcher itself, right? Another

  • Trouble exporting Flash from FCP, and, no MPEG-2 option?

    Hello. I'm trying to export a short 5 minute video from FCP. There doesn't seem to be an option for MPEG 2 anymore. Am I missing it? Second, when I export with the Flash (FLV) setting FCP "stops responding" every time. Any idea what's up with that an

  • Rich client installation package

    Hi, Is it possible to create a dedicated rich client installation package. the target users of this application rarely need all the other tools in the enterprise client package. And this package is quite big and hard to distribute. Best regards Thoma