How to Move from CSV to Table in Physical layer in Best possible way

We had a project which had the source (physical Layer) as CSV. Now there are moving from CSV to a Table in the Database.
Can anyone guide through the best possible way to complete the task
With Regards!
Steve

Create a new Database node in the Physical layer with connection pool, create a schema folder and drag your CSV object into the new database - All your BMM mappings and hence Presentation objects will move over seamlessly.
Might be an idea to simply reverse engineer / import any object from your database to initially create your database connection / tree then simply drag the CSV into it.
Hope this helps,
Alastair

Similar Messages

  • How to query from the xml table a single, specified element.

    I'm quite new in Xml Db. Pleas, can anybody tell me how to query from the xml table below a single element (i.e. the element 'rapportoparentela = NIPOTE' related to the element 'codicefiscale = CRRVNC76R52G337R', or the element 'rapportoparentela = FIGLIO' related to the element 'codicefiscale = CRRRNT51L23G337Q')?
    - <dati xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <codiceinterno />
    <codicefiscaleassistito>CRRMNL81R31G337H</codicefiscaleassistito>
    - <famigliare>
    <codicefiscale>CRRVNC76R52G337R</codicefiscale>
    <rapportoparentela>NIPOTE</rapportoparentela>
    </famigliare>
    - <famigliare>
    <codicefiscale>CRRRNT51L23G337Q</codicefiscale>
    <rapportoparentela>FIGLIO</rapportoparentela>
    </famigliare>
    - <famigliare>
    <codicefiscale>CBRPRN15S65E080W</codicefiscale>
    <rapportoparentela>I.S.</rapportoparentela>
    </famigliare>
    - <famigliare>
    <codicefiscale>CRRMNL81R31G337H</codicefiscale>
    <rapportoparentela>NIPOTE</rapportoparentela>
    </famigliare>
    - <famigliare>
    <codicefiscale>BCCCML54C50I845G</codicefiscale>
    <rapportoparentela>NUORA</rapportoparentela>
    </famigliare>
    </dati>
    Using SELECT extractValue(value(t),'/rapportoparentela') into result FROM NF_XMLT X,
    TABLE ( xmlsequence (extract(value(X),'/dati/famigliare/rapportoparentela'))) t
    I get all the elements 'rapportoparentela' and I want to get only one specified.
    Regards.
    Piero

    Piero,
    you can add the condition "CRRVNC76R52G337R" to your xpath-expression like:
    SELECT extractValue(value(t),'/rapportoparentela')
    FROM NF_XMLT x
    ,TABLE ( xmlsequence (extract(value(X),'/dati/famigliare[rapportoparentela="CRRVNC76R52G337R"]'))) tto select only those famigliare-elements that have a child-element rapportoparentela with value "CRRVNC76R52G337R".
    When you stored your XML in an XMLType column in the table, i think the following queries are better:
    SELECT extractValue(x.your_XMLType_column,'/dati/famigliare/rapportoparentela')
    FROM NF_XMLT x
    WHERE extractValue(x.your_XMLType_column,'/dati/famigliare/codicefiscale')
    = 'CRRVNC76R52G337R'or
    SELECT extractValue(x.your_XMLType_column,'/dati/famigliare/rapportoparentela')
    FROM NF_XMLT x
    WHERE existsNode(x.your_XMLType_column,'/dati/famigliare[codicefiscale="CRRVNC76R52G337R"]')
    != 0

  • HOW TO MOVE FROM ONE JSP TO ANOTHER BY HIDING URL CHANGES

    HOW TO MOVE FROM ONE JSP TO ANOTHER BY HIDING URL CHANGES IN AN ADDRESS BAR

    Please check before posting that you have not accidentally turned on the CAPS LOCK feature of your keyboard.
    To answer your question. You can't do that. There are alterate ways to solve this sort of problem. What exactly is the nature of the problem you are seeking to solve?

  • Is there a way to move a group of tabs to a new window? I know how to move one tab to a new window, but is there a way to mark a group of tabs and move them to a new window?

    Is there a way to move a group of tabs to a new window? I know how to move one tab to a new window, but is there a way to mark a group of tabs and move them to a new window?

    * Tab Mix Plus: https://addons.mozilla.org/firefox/addon/tab-mix-plus/

  • Probelm Addind new Table in Physical Layer, Create Dim in Business Model ..

    I have completed a task for a dash board, that is running sucessfully.
    Now I added a new table in "physical layer", (file->import->from database), table added successfully
    Now, I droped this table in "business model", but when I want to create its dimension, there is no any option (when I right click on this table)
    there are two cases
    case 1:
    I did not added modified fact table (with foreign key of new table) in "physical layer" and not in "business model and mapping"
    case 2:
    I added new table and modified "fact table (with foreign key of new table)" in "physical layer" and "business model and mapping"
    but in both cases there is no "create dimension" button to create dimension
    Please let me know the how to solve this problem, kindly define it in steps
    thanks

    Hi thr,
    Create Dimensions is only available if the selected logical table is a dimension table (defined by 1:N logical joins) and no dimension has been associated with this table.
    In you case, once you have imported the table successfully in physical layer, then join your table to fact table. Drag n drop in BMM under a new logical table and then join it to BMM Logical fact using complex join. Now, if you right click, you see the last option as 'Create Dimension'
    Hope you find it useful..

  • Duplicate table in physical Layer

    Hi,
    I've created a duplicate table in physical layer , When i check view data on duplicate, getting an error. (Table or view doesn't exist). How to get out of it.
    Regards,
    Sri

    When you duplicate a table, you create a new physical table with a new name. If this table is involved in a query, the SQL FROM clause will list this table. If the table does not exist in the database, then an error will occur.
    Creating an alias creates a copy of the table in metadata that will be referenced in SQL with a new alias name. The alias name in SQL will be derived from the ID given to the alias in the metadata.
    The important point is that you are not creating an object in the metadata that requires you to create a new object in the physical database. If you duplicate a table in metadata, then that new table must map to a separate table in the physical database. If it doesn't exist, you will need to create it or you will get a SQL error

  • How to move from one SQL Server table to another

    Suppose I have two tables:
    Employee1:
    EmpName varchar(100)
    EmpAddress varchar(200)
    And
    Employee2:
    EmpID int,
    EmpName varchar(100),
    EmpAddress varchar(200)
    Note: EmpID is not an identity field
    How to move all the data from Employee1 table to Employee2 table with values of EmpID as 1, 2, 3, ....so on.
    Can anyone have any idea?

    INSERT INTO [Employee2] (EmpID, EmpName, EmpAddress)
    SELECT ROW_NUMBER() OVER (ORDER BY EmpName), EmpName, EmpAddress from Employee1
    should work

  • How to Move or Copy the Tables from One Database to Another Database ?

    HI,
          Can any one help me on this, How i can move or copy the tables from one database to another database in SQL server 2005 by using SQL query. Hope can anyone provide me the useful and valuable response.
    Thanks
    Gopi

    Hello,
    Maybe these links help you out
    http://www.microsoft.com/downloads/en/details.aspx?familyid=56E5B1C5-BF17-42E0-A410-371A838E570A&displaylang=en
    http://www.suite101.com/content/how-to-copy-a-sql-database-a193532
    Also, you can just detach the database make a copy and move it to the new server.

  • How to move field symbol internal table to internal table with header line?

    Dear all,
    hi...hereby i would like to ask how i can move field symbol internal table to a internal table?
    as i know field symbol internal table is without header line..
    so, may i know how to do this....to move field symbol internal table to internal table which consist of header line and field and record will same as field symbol internal table...in additional, my field symbol internal table is dynamic table mean everytime will have flexible columns..?
    Please advise...
    Thanks
    Regard,
    ToToRo.
    Edited by: @ToToRo@ on Aug 20, 2009 6:16 AM

    Hello,
    Try this way:
    If both the type of internal tables are same then you can directly assign dynamic internal table to static internal table.
    itab = <itab>.
    Suppose you have field symbol internal table <itab> which is different in structure from ITAB.
    Now, you can create <wa> as follow:
    FIELD-SYMBOLS <wa>.
    DATA wa TYPE REF TO DATA.
    CREATE DATA wa TYPE LINE OF <itab>.
    ASSIGN wa->* to <wa>.
    This way your work area is read.
    Using [ASSIGN COMPONENT|http://help.sap.com/saphelp_nw04/helpdata/EN/fc/eb3923358411d1829f0000e829fbfe/content.htm] syntax you can read required component of <wa>.
    Finally you can use that value to load static internal table.
    You can also refer to my thread on [Dynamic table|Re: Creating Dynamic table].
    Hope this helps!
    Thanks,
    Augustin.
    Edited by: Augustarian on Aug 20, 2009 10:06 AM

  • How to move the entries of table BNKAIN between systems

    Hi,
    Is there any way to export the entries of table BNKAIN from one SAP system (development) to another manually? This is the table which is not transported via a transport...even in development system the "transport entries" option is not active. IN SM30 the maintenance view is not created.
    Can you advice how to move the entries somehow manually?
    Thanks for any assistance!
    br,Slawek

    Hi, thanks for reply.
    In fact I checked the table BNKA and the entries there are not helpful for me in the target system.
    We are using there some user exit which is using the table BNKAIN and the following entries are there:
    Client Bank Country Bank Key        Internal bank
    790            CA           IHC6            1
    790            DE           IHC1            1
    790             FI             IHC             1
    790            FR           IHC3            1
    790            GB           IHC4            1
    790            US           IHC5            1
    I checked the properties of that table in SE11 and it is maintainable only with restrictions..thus I need to ask some other basis expert which will help me to inlcude those entries into a transport.
    Anyway thansk for your hints!
    Bye

  • How to move elements (figures and tables) to float

    Hi all,
    We have created an XSLT for the XML-IN in Indesign, its working fine and all the styles are applied automatically and figures and tables were placed as inline.
    Now we need to move the INLINE elements to FLOATING.
    How to move the INLINE elements such as figures and tables to Floating. This is for automation purpose.
    We are stuck up, please suggest.
    Our requirement is need to move the "figures" from "Inline" to "float" for auto pagination purpose.
    Please give us a route to end with proper result. We are at learning stage of Java Script.
    We use Indesign CS3 with JavaScript, I am not asking the full code, just give us an idea, how to pick from the XML tree and make it as float.
    Kavya

    Use one of the selection tools, e.g. selection brush, lasso tool, to select the object, then place it on its own layer.
    In your example, you would select the moon. You will see "marching ants" surrounding the selection, delineating  the boundary of the selection and that it is active.
    To place the object on its own layer, go to Layer menu>new> layer via copy, or CTRL+J. You will see the object surrounded by transparency (checkerboard pattern).
    Use the move tool to position the moon object wherever you want
    Place a blank layer below the layer created in step #2, then fill it with your new background.
    You can select multiple objects and place them this way to suit. Again, back to your hypothetical of.10 objects on 10 layers, you can link these layers by pressing CTRL+left clicking on each of the 10 layers in the layers palette.
    If you use the move tool, you will see that they move as a block. If you are unhappy with one of the layers as you go along, simply delete it, and replace it with a new one.
    As for naming the layers, right click on a layer, and from the menu select "rename" layer to bring up the layers properties, then rename it to something meaningful.
    Good luck with your project.

  • How to read from an internal table with multiple key fields.

    Hi All!!
    I want to read from an internal table having keys as k1,k2,k3.
    How can I use read statement to read an entry having this as the key fields.
    Thanks in adavance..
    Prabhas Jha

    hi there
    use:
    sort itab by K1 K2 K3.
    read table itab into wa with key K1 = value 1
                                                  K2 = value2
                                                  K3 = value 3
                                                   BINARY SEARCH.
    where:
    itab is ur internal table
    wa is the work area with the same line type as the itab
    cheers
    shivika

  • How to convert from SQL Server table to Flat file (txt file)

    I need To ask question how convert from SQL Server table to Flat file txt file

    Hi
    1. Import/Export wizened
    2. Bcp utility
    3. SSIS 
    1.Import/Export Wizard
    First and very manual technique is the import wizard.  This is great for ad-hoc and just to slam it in tasks.
    In SSMS right click the database you want to import into.  Scroll to Tasks and select Import Data…
    For the data source we want out zips.txt file.  Browse for it and select it.  You should notice the wizard tries to fill in the blanks for you.  One key thing here with this file I picked is there are “ “ qualifiers.  So we need to make
    sure we add “ into the text qualifier field.   The wizard will not do this for you.
    Go through the remaining pages to view everything.  No further changes should be needed though
    Hit next after checking the pages out and select your destination.  This in our case will be DBA.dbo.zips.
    Following the destination step, go into the edit mappings section to ensure we look good on the types and counts.
    Hit next and then finish.  Once completed you will see the count of rows transferred and the success or failure rate
    Import wizard completed and you have the data!
    bcp utility
    Method two is bcp with a format file http://msdn.microsoft.com/en-us/library/ms162802.aspx
    This is probably going to win for speed on most occasions but is limited to the formatting of the file being imported.  For this file it actually works well with a small format file to show the contents and mappings to SQL Server.
    To create a format file all we really need is the type and the count of columns for the most basic files.  In our case the qualifier makes it a bit difficult but there is a trick to ignoring them.  The trick is to basically throw a field into the
    format file that will reference it but basically ignore it in the import process.
    Given that our format file in this case would appear like this
    9.0
    9
    1 SQLCHAR 0 0 """ 0 dummy1 ""
    2 SQLCHAR 0 50 "","" 1 Field1 ""
    3 SQLCHAR 0 50 "","" 2 Field2 ""
    4 SQLCHAR 0 50 "","" 3 Field3 ""
    5 SQLCHAR 0 50 ""," 4 Field4 ""
    6 SQLCHAR 0 50 "," 5 Field5 ""
    7 SQLCHAR 0 50 "," 6 Field6 ""
    8 SQLCHAR 0 50 "," 7 Field7 ""
    9 SQLCHAR 0 50 "n" 8 Field8 ""
    The bcp call would be as follows
    C:Program FilesMicrosoft SQL Server90ToolsBinn>bcp DBA..zips in “C:zips.txt” -f “c:zip_format_file.txt” -S LKFW0133 -T
    Given a successful run you should see this in command prompt after executing the statement
    Starting copy...
    1000 rows sent to SQL Server. Total sent: 1000
    1000 rows sent to SQL Server. Total sent: 2000
    1000 rows sent to SQL Server. Total sent: 3000
    1000 rows sent to SQL Server. Total sent: 4000
    1000 rows sent to SQL Server. Total sent: 5000
    1000 rows sent to SQL Server. Total sent: 6000
    1000 rows sent to SQL Server. Total sent: 7000
    1000 rows sent to SQL Server. Total sent: 8000
    1000 rows sent to SQL Server. Total sent: 9000
    1000 rows sent to SQL Server. Total sent: 10000
    1000 rows sent to SQL Server. Total sent: 11000
    1000 rows sent to SQL Server. Total sent: 12000
    1000 rows sent to SQL Server. Total sent: 13000
    1000 rows sent to SQL Server. Total sent: 14000
    1000 rows sent to SQL Server. Total sent: 15000
    1000 rows sent to SQL Server. Total sent: 16000
    1000 rows sent to SQL Server. Total sent: 17000
    1000 rows sent to SQL Server. Total sent: 18000
    1000 rows sent to SQL Server. Total sent: 19000
    1000 rows sent to SQL Server. Total sent: 20000
    1000 rows sent to SQL Server. Total sent: 21000
    1000 rows sent to SQL Server. Total sent: 22000
    1000 rows sent to SQL Server. Total sent: 23000
    1000 rows sent to SQL Server. Total sent: 24000
    1000 rows sent to SQL Server. Total sent: 25000
    1000 rows sent to SQL Server. Total sent: 26000
    1000 rows sent to SQL Server. Total sent: 27000
    1000 rows sent to SQL Server. Total sent: 28000
    1000 rows sent to SQL Server. Total sent: 29000
    bcp import completed!
    BULK INSERT
    Next, we have BULK INSERT given the same format file from bcp
    CREATE TABLE zips (
    Col1 nvarchar(50),
    Col2 nvarchar(50),
    Col3 nvarchar(50),
    Col4 nvarchar(50),
    Col5 nvarchar(50),
    Col6 nvarchar(50),
    Col7 nvarchar(50),
    Col8 nvarchar(50)
    GO
    INSERT INTO zips
    SELECT *
    FROM OPENROWSET(BULK 'C:Documents and SettingstkruegerMy Documentsblogcenzuszipcodeszips.txt',
    FORMATFILE='C:Documents and SettingstkruegerMy Documentsblogzip_format_file.txt'
    ) as t1 ;
    GO
    That was simple enough given the work on the format file that we already did.  Bulk insert isn’t as fast as bcp but gives you some freedom from within TSQL and SSMS to add functionality to the import.
    SSIS
    Next is my favorite playground in SSIS
    We can do many methods in SSIS to get data from point A, to point B.  I’ll show you data flow task and the SSIS version of BULK INSERT
    First create a new integrated services project.
    Create a new flat file connection by right clicking the connection managers area.  This will be used in both methods
    Bulk insert
    You can use format file here as well which is beneficial to moving methods around.  This essentially is calling the same processes with format file usage.  Drag over a bulk insert task and double click it to go into the editor.
    Fill in the information starting with connection.  This will populate much as the wizard did.
    Example of format file usage
    Or specify your own details
    Execute this and again, we have some data
    Data Flow method
    Bring over a data flow task and double click it to go into the data flow tab.
    Bring over a flat file source and SQL Server destination.  Edit the flat file source to use the connection manager “The file” we already created.  Connect the two once they are there
    Double click the SQL Server Destination task to open the editor.  Enter in the connection manager information and select the table to import into.
    Go into the mappings and connect the dots per say
    Typical issue of type conversions is Unicode to non-unicode.
    We fix this with a Data conversion or explicit conversion in the editor.  Data conversion tasks are usually the route I take.  Drag over a data conversation task and place it between the connection from the flat file source to the SQL Server destination.
    New look in the mappings
    And after execution…
    SqlBulkCopy Method
    Sense we’re in the SSIS package we can use that awesome “script task” to show SlqBulkCopy.  Not only fast but also handy for those really “unique” file formats we receive so often
    Bring over a script task into the control flow
    Double click the task and go to the script page.  Click the Design script to open up the code behind
    Ref.
    Ahsan Kabir Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread. http://www.aktechforum.blogspot.com/

  • Upgraded to 10, How to move from HDD to SSD? (Y-Series Laptop)

    Howdy all, I have a Lenovo Y Series Laptop that came with a combo HDD/SSD. I assumed that Windows would be installed on the SSD, leaving the HDD for everything else. Turns out this isn't the case. The SSD is currently at 22.6g free of 24.9, and I'm honestly not sure if it's a totally separate drive, or if it's integrated into the HDD somehow.. I am trying to figure out how to move windows onto the SSD potion of the hard drive, but just want to make sure I'm not forgetting something. I assume I'll have to:Backup any files I want to keep (there are none, just applications I can get again after)Make a Windows 10 Boot Drive on a USBReformat SSDBoot from the USBPerform clean install of Windows 10 on SSD(possible step here of backing up lenovo software?)Reformat HDDRe-install all apps + programsAre there any Particular things that I need to make sure of for Windows 10?Am I forgetting anything?Is this a terrible idea?Is this totally not how my particular hard drive works?Is there a waaaay easier way to do this without possibly destroying everything? Lastly I want to make sure that the Lenovo software stays on the laptop, I assume it'll all go bye-bye if I do a clean install. I tried this once years ago and ended up making the Fn keys stop working, the fan and temperature control goofy, and I think it may even have been haunted.. Any advice or known disastrous things to avoid would be super helpful.

    hi Trosh,
    Welcome to the Forums.
    Using the parts lookup page to check the hard drive specs on models 80FA002CUS and 80FA002DUS, those machines are configured with an SSHD (1TB HDD with a built-in 8GB SSD cache).
    The 22.6 GB free of 24.9 GB that you're seing is likely the D:\  drive, which is a partition of the 1TB HDD (you can verify this by opening up Disk Management)
    As for upgrading to Windows 10:
    1. Ensure that you have a backup copy of your files before upgrading and create a recovery drive just in case.
    2. Before you can clean install Windows 10, you will need to upgrade your current installation (e.g., Windows 8.1) first to Windows 10 and activate. Once this is done, you can proceed in doing a clean install. If you proceed in doing a clean install on first attempt, you may not be able to activate Windows.
    You can read more in this article:
    How to Activate and resolve common Product key issues in Windows 10
    Note that doing a clean install will definitely remove all preloaded apps and drivers, thus, you will need to reinstall them back (some proprietary preloaded apps though doesn't have an Installer due to license limitation)
    3. After upgrading Windows 8.1 to Windows 10, some preloaded apps and drivers may have limited functionality or may not work at all. Thus, you will need to update to the latest Windows 10 drivers (if available).
    More info here:
    https://support.lenovo.com/us/en/documents/ht103611
    4. In case you get issues with the upgrade, you can always refresh Windows 10 or go back to the previous Windows build or by doing a system recovery then re-upgrade.
     - Refresh Windows 10
     - Windows 10 - Go Back to Previous Win1dows
     - Link to picture (select System Recovery)
    5. If you're leaning towards an SSD upgrade (e.g., 256GB or 500GB), you will need to migrate the OS from the SSHD to the SSD and upgrade to Windows 10. If you have already originally upgraded though on the stock drive, you can clean install Windows on the new SSD.
    More info before upgrading to Windows 10:
    Windows 10 - Upgrade Installation
    Hope the info above answers your questions.
    Regards

  • 2LIS_05_Q0TASK, or how to extract from a new table

    Hi All,
    I would like to enhance the Quality Management (in Lo Cockpit) extractors with own data. I have standard table appends and an own table which represent a sublevel of the task table QMSM. The appends are ok, I can enhance the standard extractors. But how can I use my new table in the BI?
    The key of the new table is this:
    MANDT
    QMNUM
    MANUM
    OUTCM  (char10)
    CODE    (char10)
    Please help.

    Hello Laszlo,
    If I would have understood your question,
    Once you are done with the datasource enhancement you have to replicate the same into BW side and you have to map the new fields to Comm Stru and finally your data target (InfoCube / ODS)
    Thanks
    Chandran

Maybe you are looking for

  • Sql Server 2012 Login Failed for user "NT Authority\System"

    I have installed SQL Server on a new server. I have been getting the following error on each of the database in it. Login failed for user 'NT AUTHORITY\SYSTEM'. Reason: Failed to open the explicitly specified database 'ABC'. [CLIENT: xxx.xxx.xxx.xxx]

  • How do I remove Audiobooks from Iphone???

    Unlike Podcasts or music, audiobooks seem to be always put on the iphone even after they have been listened to. I cannot seem to find any way of getting them off the iphone after I have listened to them besides removing them from my itunes library or

  • Batch Management Procedure

    hi all, can any body explain me how to configure batch management in MM? Is there any types in Batches. i need full settings to do in MM. i will be great full to all in advance.

  • The little things that make you go "grrr"

    What minor issues get on your nerves? Perhaps we can all help each other out by airing our grievances. For me the main thing has got to be that every update of firefox is slower and more leaky than the one before it. It used to be fast and smooth, no

  • Public name vs. contacts only

    Hello,   I set my public profile to only my Skype name in both spaces... Name/Skype ID....Yet when I go to contacts only it showed same as public setting. Is there a way post ones' name/nickname without it showing as public also? If not  maybe we sho