RM file line for MSSQL 7.0

Looking urgently for RM file line (and openinfo syntax) for MS SQL v.7.0

Hi Praveen,
As I know, there is no JDBC driver MSSQL 7.0, so there is no direct way to get access to it.
But there is another way to do it if you have access to a MSSQL 2000 or above server.
In MSSQL 2000 you can create a linked server to the MSSQL 7.0, and then you can use XI to get access to MSSQL 7.0 tables.
Regards,
Hui

Similar Messages

  • Utl file - I need to get new line for each value

    I wrote an utl_file package to generate an html file. It is working fine, however, I am having difficulty formating my output.
    I like to have values returned one line at a time. For instance,
    Name:Sam Ok
    area code: 407
    phone: 333-4444
    picture: display here.
    It is displaying values on one line.
    Please help if you can. Here is the code.
    Thanks,
    sam
    CREATE OR REPLACE PROCEDURE Cr_Movie_PRV_HTML(
    P_Filename IN varchar2,
    p_Id IN mist_physician.mp_phys_Id%TYPE
    AS
    CURSOR C_mist IS
    SELECT mp_name,
    mp_update_datetime,
    mp_area_code,
    mp_phone,
    mp_address,
    mp_fax
    FROM Mist_Physician
    WHERE Mp_phys_id = P_Id;
    v_mp_name mist_physician.mp_name%type;
    v_mp_update_datetime mist_physician.mp_update_datetime%type;
    v_mp_areacode mist_physician.mp_area_code%type;
    v_phone mist_physician.mp_phone%type;
    v_mp_address mist_physician.mp_address%type;
    v_mp_fax mist_physician.mp_fax%type;
    V_FileHandle UTL_FILE.FILE_TYPE; -- This will be used to store the filename
    BEGIN
    --Open The specified file to write into and get V_FileHandle.
    V_FileHandle := UTL_FILE.FOPEN('c:\mist_info', P_FileName, 'w');
    IF Utl_File.IS_OPEN(V_FileHandle) = FALSE THEN
    RAISE_APPLICATION_ERROR(-20000,'Error opening '||P_FileName||' for WRITE');
    END IF;
    Let's build the header file that will be inside the file that will  identify why thus file is created.
    utl_file.put_line(V_FileHandle,'#---------------------------------------');
    utl_file.put_line(V_FileHandle,'Name'||' : '||mist_Rec.mp_name);
    utl_file.put_line(V_FileHandle,'Date');
    utl_file.put_line(V_FileHandle,'Phone');
    utl_file.put_line(V_FileHandle,'Address');
    utl_file.put_line(V_FileHandle,'# Generated on: '||to_char(sysdate, 'Mon DD, YYYY (Dy) HH:MI:SS AM'));
    utl_file.put_line(V_FileHandle,'#-----------------------------------------');
    utl_file.put_line(V_FileHandle,' ');
    -- Next we will query data from the Movie table. Only data that are relevant.
    -- Using PUT_LINE, write text with the field arguments out to the file
    BEGIN
    FOR Mist_Rec IN C_Mist LOOP
    UTL_FILE.PUT_LINE(V_FileHandle,'Name'||':'||Mist_Rec.Mp_Name||','||'<img src=c:/our_website/co16.jpeg>');
    END LOOP;
    SELECT mp_name,
    mp_update_datetime,
    mp_area_code,
    mp_phone,
    mp_address,
    mp_fax
    INTO v_mp_name,
    v_mp_update_datetime,
    v_mp_areacode,
    v_phone,
    v_mp_address,
    v_mp_fax
    FROM Mist_Physician
    WHERE Mp_phys_id = P_Id;
    END;
    -- Now Close the file
    UTL_FILE.FCLOSE( V_FileHandle);
    EXCEPTION
    WHEN Utl_File.Invalid_Path THEN
    RAISE_APPLICATION_ERROR(-20001,'Error: Invalid Path');
    WHEN Utl_File.Invalid_Operation THEN
    RAISE_APPLICATION_ERROR(-20002,'Error: Invalid File Operation');
    IF Utl_File.IS_OPEN(V_FileHandle) = TRUE THEN
    Utl_File.FCLOSE(V_FileHandle);
    END IF;
    WHEN Utl_File.Invalid_Mode THEN
    RAISE_APPLICATION_ERROR(-20003,'Error: Invalid Mode');
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('ERROR: ' || SQLCODE || '-'||SQLERRM);
    END Cr_Movie_PRV_HTML;
    /**********************End Of Mist*********************/

    Syntax is::
    UTL_FILE.NEW_LINE(filename, nuber-of-lines)
    CREATE OR REPLACE PROCEDURE Cr_Movie_PRV_HTML(
    P_Filename IN varchar2,
    p_Id IN mist_physician.mp_phys_Id%TYPE
    AS
    CURSOR C_mist IS
    SELECT mp_name,
    mp_update_datetime,
    mp_area_code,
    mp_phone,
    mp_address,
    mp_fax
    FROM Mist_Physician
    WHERE Mp_phys_id = P_Id;
    v_mp_name mist_physician.mp_name%type;
    v_mp_update_datetime mist_physician.mp_update_datetime%type;
    v_mp_areacode mist_physician.mp_area_code%type;
    v_phone mist_physician.mp_phone%type;
    v_mp_address mist_physician.mp_address%type;
    v_mp_fax mist_physician.mp_fax%type;
    V_FileHandle UTL_FILE.FILE_TYPE; -- This will be used to store the filename
    BEGIN
    --Open The specified file to write into and get V_FileHandle.
    V_FileHandle := UTL_FILE.FOPEN('c:\mist_info', P_FileName, 'w');
    IF Utl_File.IS_OPEN(V_FileHandle) = FALSE THEN
    RAISE_APPLICATION_ERROR(-20000,'Error opening '||P_FileName||' for WRITE');
    END IF;
    utl_file.put_line(V_FileHandle,' ');
    -- Next we will query data from the Movie table. Only data that are relevant.
    -- Using PUT_LINE, write text with the field arguments out to the file
    BEGIN
    FOR Mist_Rec IN C_Mist LOOP
    --Let's build the header file that will be inside the file that will
    --identify why thus file is created.
    UTL_FILE.PUTF
    (file_handle, %s,'--------------------------');
    UTL_FILE.NEW_LINE(V_FileHandle, 1)
    UTL_FILE.PUTF (file_handle, '%s','Name'||':'||Mist_Rec.Mp_Name, )
    UTL_FILE.NEW_LINE(V_FileHandle, 1)
    .(Chang the below all u will get as u required)
    'Date'||' : '||Mist_Rec.mp_update_datetime,
    'Area Code'||' : '||Mist_Rec.mp_area_code,
    'Phone'||' : '||Mist_Rec.mp_phone,
    'Address'||' : '||Mist_Rec.mp_address,
    'Fax'||' : '||Mist_Rec.mp_fax,
    '# Generated on: '||to_char(sysdate, 'Mon DD,
    YYYY (Dy) HH:MI:SS AM')),
    '<img src=c:/our_website/co16.jpeg>'),
    -- UTL_FILE.PUT_LINE(V_FileHandle,'Name'||':'||Mist_Rec.Mp_Name||','||'<img
    --src=c:/our_website/co16.jpeg>');
    END LOOP;
    SELECT mp_name,
    mp_update_datetime,
    mp_area_code,
    mp_phone,
    mp_address,
    mp_fax
    INTO v_mp_name,
    v_mp_update_datetime,
    v_mp_areacode,
    v_phone,
    v_mp_address,
    v_mp_fax
    FROM Mist_Physician
    WHERE Mp_phys_id = P_Id;
    END;
    -- Now Close the file
    UTL_FILE.FCLOSE( V_FileHandle);
    EXCEPTION
    WHEN Utl_File.Invalid_Path THEN
    RAISE_APPLICATION_ERROR(-20001,'Error: Invalid Path');
    WHEN Utl_File.Invalid_Operation THEN
    RAISE_APPLICATION_ERROR(-20002,'Error: Invalid File Operation');
    IF Utl_File.IS_OPEN(V_FileHandle) = TRUE THEN
    Utl_File.FCLOSE(V_FileHandle);
    END IF;
    WHEN Utl_File.Invalid_Mode THEN
    RAISE_APPLICATION_ERROR(-20003,'Error: Invalid Mode');
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('ERROR: ' || SQLCODE || '-'||SQLERRM);
    END Cr_Movie_PRV_HTML;
    /**********************End Of Mist*********************/

  • How to skip line for delimited file type?

    Hi, i wanna ask how to skip (example: the first two line) for delimited file type?
    Thanks...
    Here is my script
    Function NY_Skip06Center [strField, strRecord]
    ' FDM DataPump Import Script:
    'Created by: FDM_Admin
    'Date created: 2/28/2006
    Dim strEntity
    'Check first two characters of entity
    For strEntity = 1 to 6
    'Skip line
    Res.PblnSKip = True
    Next strEntity
    End if
    End Function
    But it returns this error when imported
    Error: An error occurred importing the file.
    Detail: Object variable or With block variable not set
    Anyone knows what's wrong
    Edited by: user649207 on Mar 19, 2010 2:15 AM
    Edited by: user649207 on Mar 19, 2010 3:04 AM

    strAcc = DW.Utilities.fParseString (strField, 1, 1, chr(9))
    I didn't look closely enough last time. The above is illogical. The parsestring function parses a string based on a delimiter.
    The function has these arguments:
    String to Parse
    How many fields are in the string
    The parsed field to return
    Field delimiter
    In the above, strField is returning the field specified in your import format. You are also saying that there is a total of 1 field. If that were the case, you wouldn't need to parse anything.
    I am guessing that your call needs to look something more like this:
    strAcc = DW.Utilities.fParseString (*strRecord*, *8*, 1, chr(9))
    Make sense?
    If not, maybe you can include a few sample lines from your data file and that will make it easier to help you.
    Is your import format fixed or delimited?

  • Best File Format For Online Line Art?

    I thought the conventional wisdom was that all line art for the screen should be saved as GIFs, all photographic line art should be saved as JPEGs.
    Then PNGs came along and offered an alternative to GIFs.
    I've been exploring this because I've been having a problem when exporting line art from Illustrator 8 as a PNG and opening it in Fireworks MX, where it appears washed out.
    I did a bit of research among comic strip artists -- the art I'm exporting from Illustrator is a comic strip -- and came up with conflicting results.
    Dilbert seems to save black and white line art as GIFs, e.g. http://dilbert.com/comics/dilbert/archive/images/dilbert2008611230313.gif
    ... But its Sunday colored strips seem to be saved as JPEGs, e.g. http://dilbert.com/comics/dilbert/archive/images/dilbert2008040261966.jpg
    Meanwhile Donnesbury seems to save colored comic strips as GIFs, e.g. http://images.ucomics.com/comics/db/2008/db080406.gif
    Any thoughts, suggestions?
    Thanks.

    I assume your line art is drawn as vector art in Illustrator, correct?
    As far as I'm concened, the "best file format for online line art" would be .swf, because it would retain its scaleable vector nature, and the Flash Player is most likely embedded in any reasonably recent computer's browser.
    But a little simple experimentation would be in order regarding file size. SWF (as exported from Flash, not necessarily AI) is very efficient. But the complexity of the line art could still make a given image require more bandwidth as .swf than as a rasterized version.
    The former conventional-wisdom regarding PNG is the old "not supported in older browsers" saw. I see even Firworks's online help still says:
    > However, not all web browsers can view PNG graphics.
    Personally, I think its way past time to stop cow-towing to outdated browsers and use PNGs anyway. So if it were me, and the nature of my line art required rasterization for online use, I would use PNG for its obvious advantages. But then, my livlihood is not affected by some minority of outdated web viewers not being able to view my PNGs.
    I would think that whatever color problems you are having in getting your AI files exported to PNG can be worked out with a little investigation/experimentation. (PNG supports color management profiles, so that alone may be your problem, and may be easily fixed in your workflow.) GIF is by definition limited to a subset of colors. JPEG is by definition a lossy compression format. So there are certainly precise color-accuracy issues with those overused formats, too.
    But again, that's just me. What little I do in web graphics that would involve this issue doesn't really affect my livelihood. Lowest-common-denominator compatibility may be more important to you.
    > Gilbert seems to...
    > Doonsbury seems to...
    The two images are very close to the same size (132K & 125K). They both include contone grads. Between JPEG and GIF, I would expect JPEG to more consistently yield acceptable results. Since GIF is limited to an 8-bit lookup table, I would expect aberations such as unwanted banding to be more likely in GIF if the artwork contains many colors and alot of highly-rendered shading.
    Since you specify
    line art, though, that would rule out contone fills, and you could use GIF with a very small color table.
    On the other hand, you do not specify whether you want to use transparency in your line art images. If you do, PNG would be far superior, because it supports true alpha transparency. In a GIF, if you can only make one particular color transparent. So even with line art, if the line art is antialiased at all, you'll have the ugly halos so commonly seen in GIFs when displayed on a wrong-colored background.
    The only functional "advantage" that I see in GIF over PNG is its multi-image capability, for quick & dirty frame-by-frame animation. My personal animation efforts focus entirely on Flash/SWF, and use scripted animation whenever possible to avoid frame-by-frame. But I recognize the simplicity convenience of animated GIFs for web banners and those (often-annoying) moving icons and such.
    JET

  • When I open up an e-mail attachment a box pops up PRINT TO FILE below that line OUTPUT FILE NAME with an empty line for the file name vs. simply going to my default printer?

    when I open up an e-mail attachment a box pops up PRINT TO FILE below that line OUTPUT FILE NAME with an empty line for the file name vs. simply going to my default printer?

    Make sure that '''''Print to File''''' isn't selected in the native print dialog box ''(see screenshot below)'' middle-right, and make sure your Printer is selected at the top of that dialog box.
    ''I'm a little confused why an email attachment would need to go directly to the printer, but that's what you asked about.''

  • Where i will get  the .jar files for JDBC connector for MSSQL Server

    Hi,
    i am trying to configure the JDBC connector for the MSSQL server. For this we need to add the .jar files for MSSQL Server. Can any body tell , where i will will get the jar files to finish this connection.
    Database version is MS SQL Server 2000
    Portal version is       Portal7.0 sp9
    Regards
    vijay

    Hi Vijay,
    If you are looking for the exact steps as to how we can configure the JDBC Connector for accessing the MS SQL Server, have a look at this document:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/b00917dc-ead4-2910-3ebb-b0a63e49ef10
    Follow the steps till page 12 of this doc.
    Bye
    Ankur
    Do reward points for helpful as well as solved answers!!

  • Line Drawing best file format for import in InDesign

    i was wondering what is  the accepted and recommended file format for files to be imported in InDesign. I was under the impression that AI files should be saved as EPS but I just read an article that says that Adobe's Dov  Isaacs said that eps will be shortly obsolete.What should I do. I work on curriculum that contains both photographs and line drawing and we use tiff for the former and eps for the latter. Most of our line drawing is done in AI. Howeverwe have a cartoonist that sends us files in jpg format. What would be the best file format for him and for us as we draw in AI?
    Article link: http://www.prepressure.com/library/file-formats/eps
    The future of the EPS file format
    EPS is rapidly becoming an outdated file format which is being  replaced by PDF just like PostScript itself is also being phased out and  replaced by PDF. Don’t just take my word on this. Here is what Dov  Isaacs from Adobe said in a discussion on a PrintPlanet forum about the  future of PostScript: “ …Adobe will continue to support EPS as a  legacy graphics format for import of non-color managed, opaque graphical  data into Adobe applications (such as InDesign and Illustrator).  Although we certain do not recommend that new graphical content be  stored in EPS format (except to satisfy the need to import data into  page layout programs that aren’t quite PDF-centric — no need to mention  names here!), our user base should feel comfortable that there is no  need to worry about a need to convert their very sizable libraries of  EPS-based graphic assets.”

    Yes, I drag the AI file in.
    If after it's in place I need to change I can just right click and chose edit original make the changes and save and the illustration in inDesign will reflect the changes.
    On the other hand I can make changes to the original and all iterations of the file will automatically update, say if I used the illustration in several documents.
    As an example I had completed a set of documents for a new company, i.e., biz cards, brochures, product labeling, stationery, etc. and in their wisdom they decided to make changes in their logo, which, of course, is on everything. I opened the AI file with the logo made the changes saved and all the documents then reflected the changes. The only caveat to do this seamlessly is to make sure that your file logo size is the same as the original or you might have to tweak placement in the other documents
    It is this interoperability that to me makes the Creative Suite so much more than the sum of their parts.
    Craig

  • Not able to generate multiple lines for headers in report

    Hi,
    I am new to BI publisher and not able to generate multiple lines for headers. Please help me to resolve.
    I am using RTF template, data source as PS Query and XML file (system generated from the data source)
    When I am using system generated 'First XML' file, I am getting output in the follwoing format.
    TEAM_MEMBER, PROJECT_ID, NAME, START_DT
    e.g.
    EMP1 , 71000, Sample, 01-Jan-2010
    EMP1 , 72000, Sample, 01-Feb-2010
    EMP1 , 73000, Sample, 01-March-2010
    But I want the report to be generate with multiple projects for one employee like below format , for that I used 'Second XML' file but I am getting blank report.
    In short if there is one to many case, how to show in reports??? Please correct if I am going wrong.
    TEAM_MEMBER
    PROJECT_ID, NAME, START_DT
    PROJECT_ID, NAME, START_DT
    PROJECT_ID, NAME, START_DT
    e.g.
    EMP1
    71000, Sample, 01-Jan-2010
    72000, Sample, 01-Feb-2010
    73000, Sample, 01-March-2010
    **********First XML**************System generated XML ****************************
    <?xml version="1.0"?>
    <query numrows="2" queryname="SY_EMP_PROJECT" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="">
    <row rownumber="1">
    <TEAM_MEMBER>TEAM_MEMBER </TEAM_MEMBER>
    <PROJECT_ID>PROJECT_ID samp</PROJECT_ID>
    <NAME>NAME sample data</NAME>
    <START_DT>2010-08-25</START_DT>
    </row>
    <row rownumber="2">
    <TEAM_MEMBER>TEAM_MEMBER</TEAM_MEMBER>
    <PROJECT_ID>PROJECT_ID samp</PROJECT_ID>
    <NAME>NAME sample data</NAME>
    <START_DT>2010-08-25</START_DT>
    </row>
    </query>
    **********Second XML**************Manually created XML and using to show multiple projects for one employee****************
    <?xml version="1.0"?>
    <TEST numrows="2" queryname="SY_EMP_PROJECT" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="">
    <TEAM_MEMBER rownumber="1">
    <TEAM_MEMBER>1</TEAM_MEMBER>
    <EMPLOYEE_NAME>SAMPLE</EMPLOYEE_NAME>
    <PROJECT>
    <PROJECT_ID>1111</PROJECT_ID>
         <PROJECT_DESCR>SAMPLE</PROJECT_DESCR>
    <START_DATE>01012010</START_DATE>
    </PROJECT>
    <PROJECT>
    <PROJECT_ID>1112</PROJECT_ID>
         <PROJECT_DESCR>SAMPLE</PROJECT_DESCR>
    <START_DATE>01022010</START_DATE>
    </PROJECT>
    </TEAM_MEMBER>
    <TEAM_MEMBER rownumber="2">
    <TEAM_MEMBER>2</TEAM_MEMBER>
    <EMPLOYEE_NAME>SAMPLEC</EMPLOYEE_NAME>
    <PROJECT>
    <PROJECT_ID>1111</PROJECT_ID>
         <PROJECT_DESCR>SAMPLE</PROJECT_DESCR>
    <START_DATE>01012010</START_DATE>
    </PROJECT>
    <PROJECT>
    <PROJECT_ID>1112</PROJECT_ID>
         <PROJECT_DESCR>SAMPLE</PROJECT_DESCR>
    <START_DATE>01022010</START_DATE>
    </PROJECT>
    </TEAM_MEMBER>
    </TEST>
    Edited by: ganeshtw on Aug 25, 2010 12:14 AM

    Hi,
    With your first xml you can print like
    EMP1
    71000, Sample, 01-Jan-2010
    72000, Sample, 01-Feb-2010
    73000, Sample, 01-March-2010While creating the RTF template you can use the Group by option.
    <?for-each-group:ROW;./columnname> then print the column name
    <?columnname?>
    --Then your table format
    71000, Sample, 01-Jan-2010
    72000, Sample, 01-Feb-2010
    73000, Sample, 01-March-2010
    <?end for-each-group?>
    Thanks.

  • Extra space in text file line

    This one is not critical, just aesthetical. My program writes lots of lines of info into a text file. One section of my code seems to include an extra empty space at the beginning of the line. The text is correct, but it just looks awkward being one space off from all the other lines of text.
    I will include a sample of the section of code writing to the text file. I didn't include all of my code, so parts of the sample I'm including will show errors, but you can get the gist of what I'm trying to do.
    In the line that displays "Start time of switch setting", the text is moved one spot over. Why?
    Amateur programmer for over 10 years!
    Attachments:
    space in first text file line - sample code.vi ‏28 KB

    Yup, that seemed to do the trick! I never even tinkered with "edit format string" of my "format into string" tools. I just wired my strings into them and let 'er rip.
    I ended up looking into the format of my other "format into string" tools in my program and they were set up the same - a space between each %s. But only that one "format into string" tool between string lines 5 and 6 did it actually place a space in the resulting text. Weird. Nowhere else did that occur.
    Thanks for the help!
    And tell me about desctructive kids!! I have 4 kids - all under the age of 6! I know all about toilets clogged by toys, lipstick smeared on walls, hand lotion all over just cleaned laundry, etc.
    My brother worked at a govt. contractor for a few years until he moved on to bigger and better. Years later he was browsing the stock section of the newspaper and he was reminded that he still had some stock from that company. So he glanced at the stock value listed in the paper and found he had almost $10,000 just sitting there! He bought a beautiful new Martin acoustic. I love that guitar! I have an old Fender dreadnought acoustic. I took it once to a guitar dealer to trade it in. He looked at it and handed it back and told me I better hold on to it, it was worth more than I realized.
    Probably not worth enough to put 4 kids through college though.
    Amateur programmer for over 10 years!

  • How can I get file list for a given directory?

    Hi,
    How can I get file list for a given directory? Is there a function?
    Thanks.

    Hi friend,
    Try this sample report. It displays all files in a directory.
    While executing give some directory name in input. ex:  C:\
    Mention file type in filter parameter. ex: *.DOC
    REPORT ztests.
    DATA : file_table LIKE TABLE OF sdokpath WITH HEADER LINE .
    DATA : dir_table LIKE TABLE OF sdokpath WITH HEADER LINE .
    PARAMETERS:p_dir(50) TYPE c.
    CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
      EXPORTING
        directory  = p_dir
        filter     = '*.DOC'
      TABLES
        file_table = file_table
        dir_table  = dir_table
      EXCEPTIONS
        cntl_error = 1
        OTHERS     = 2.
    LOOP AT file_table .
      WRITE:/ file_table-pathname.
    ENDLOOP.
    Might be helpful...
    Thanks.....
    Edited by: Guest77 on Feb 11, 2009 5:30 AM

  • Custom File Extension for Microsoft Access Text Driver (*.txt, *.csv)

    I'm trying to use a custom file extension for the Microsoft Access Text Driver (*.txt, *.csv) driver.
    I have updated the FileExtns registry to have my new extension.
    When I issue the following it does not work.
    select [NoName] 
    from openrowset('MSDASQL'
               ,'Driver={Microsoft Access Text Driver (*.txt, *.csv)};
                    DefaultDir=c:\filedir'
               ,'select * from "file.lst"')
    If I make the file a .csv it works fine.  However, if it has an extension of not CSV or TXT (in this case .lst, which is in the registry setting) extension it throws the following error and cannot seem to find a solution to it. 
    OLE DB provider "MSDASQL" for linked server "(null)" returned message "[Microsoft][ODBC Text Driver] Cannot update. Database or object is read-only.". Msg 7350, Level 16, State 2, Line 1 Cannot get the column information from
    OLE DB provider "MSDASQL" for linked server "(null)".
    In addition, (although I can probably find this elsewhere), I need to have the first line 'BLANK' so that it does not miss data (there is no header row).  Is there  a way to use OPENROWSET without BULK to basically include all rows as data?
    Any help is appreciated.

    Hi,
    According to your description, I did a test with your script, and got the same message as your post. Usually, by default, the Microsoft Access Text Driver (*.txt, *.csv) supports the four extensions file, such as *.asc, *.csv, *.tab, *.txt. To solve this issue,
    I recommend you try to save the LST file in the above format, then use OPENROESET to get data from the supported extensions file in SQL Server.
    In addition, the
    OPENROWSET function is mainly used to retrieve remote data from an OLEDB data source, when you use OPENROWSET without BULK, provider_name is a necessary parameter in the script. However, the OPENROWSET (BULK...) is mainly called from a SELECT…FROM clause
    within an INSERT statement, when importing bulk data from a data file into SQL Server table. Thus if you need to import bulk data, you should use the basic  syntax: INSERT ... SELECT * FROM OPENROWSET(BULK...), also there are some alternatives, such as
    BULK INSERT
    and
    BCP .
    Thanks
    Lydia Zhang

  • File Splitting for Large File processing in XI using EOIO QoS.

    Hi
    I am currently working on a scenario to split a large file (700MB) using sender file adapter "Recordset Structure" property (eg; Row, 5000). As the files are split and mapped, they are, appended to a destination file. In an example scenario a file of 700MB comes in (say with 20000 records) the destination file should have 20000 records.
    To ensure no records are missed during the process through XI, EOIO, QoS is used. A trigger record is appended to the incoming file (trigger record structure is the same as the main payload recordset) using UNIX shellscript before it is read by the Sender file adapter.
    XPATH conditions are evaluated in the receiver determination to eighther append the record to the main destination file or create a trigger file with only the trigger record in it.
    Problem that we are faced is that the "Recordset Structure" (eg; Row, 5000) splits in the chunks of 5000 and when the remaining records of the main payload are less than 5000 (say 1300) those remaining 1300 lines get grouped up with the trigger record and written to the trigger file instead of the actual destination file.
    For the sake of this forum I have a listed a sample scenario xml file representing the inbound file with the last record wih duns = "9999" as the trigger record that will be used to mark the end of the file after splitting and appending.
    <?xml version="1.0" encoding="utf-8"?>
    <ns:File xmlns:ns="somenamespace">
    <Data>
         <Row>
              <Duns>"001001924"</Duns>
              <Duns_Plus_4>""</Duns_Plus_4>
              <Cage_Code>"3NQN1"</Cage_Code>
              <Extract_Code>"A"</Extract_Code>
         </Row>
         <Row>
              <Duns>"001001925"</Duns>
              <Duns_Plus_4>""</Duns_Plus_4>
              <Cage_Code>"3NQN1"</Cage_Code>
              <Extract_Code>"A"</Extract_Code>
         </Row>
         <Row>
              <Duns>"001001926"</Duns>
              <Duns_Plus_4>""</Duns_Plus_4>
              <Cage_Code>"3NQN1"</Cage_Code>
              <Extract_Code>"A"</Extract_Code>
         </Row>
         <Row>
              <Duns>"001001927"</Duns>
              <Duns_Plus_4>""</Duns_Plus_4>
              <Cage_Code>"3NQN1"</Cage_Code>
              <Extract_Code>"A"</Extract_Code>
         </Row>
         <Row>
              <Duns>"001001928"</Duns>
              <Duns_Plus_4>""</Duns_Plus_4>
              <Cage_Code>"3NQN1"</Cage_Code>
              <Extract_Code>"A"</Extract_Code>
         </Row>
         <Row>
              <Duns>"001001929"</Duns>
              <Duns_Plus_4>""</Duns_Plus_4>
              <Cage_Code>"3NQN1"</Cage_Code>
              <Extract_Code>"A"</Extract_Code>
         </Row>
         <Row>
              <Duns>"9999"</Duns>
              <Duns_Plus_4>""</Duns_Plus_4>
              <Cage_Code>"3NQN1"</Cage_Code>
              <Extract_Code>"A"</Extract_Code>
         </Row>
    </Data>
    </ns:File>
    In the sender file adapter I have for test purpose changed the "Recordset structure" set as "Row,5" for this sample xml inbound file above.
    I have two XPATH expressions in the receiver determination to take the last record set with the Duns = "9999" and send it to the receiver (coominication channel) to create the trigger file.
    In my test case the first 5 records get appended to the correct destination file. But the last two records (6th and 7th record get sent to the receiver channel that is only supposed to take the trigger record (last record with Duns = "9999").
    Destination file: (This is were all the records with "Duns NE "9999") are supposed to get appended)
    <?xml version="1.0" encoding="UTF-8"?>
    <R3File>
         <R3Row>
              <Duns>"001001924"</Duns>
              <Duns_Plus_4>""</Duns_Plus_4>
              <Extract_Code>"A"</Extract_Code>
         </R3Row>
         <R3Row>
              <Duns>"001001925"</Duns>
              <Duns_Plus_4>""</Duns_Plus_4>
              <Extract_Code>"A"</Extract_Code>
         </R3Row>
         <R3Row>
              <Duns>"001001926"</Duns>
              <Duns_Plus_4>""</Duns_Plus_4>
              <Extract_Code>"A"</xtract_Code>
         </R3Row>
              <R3Row>
              <Duns>"001001927"</Duns>
              <Duns_Plus_4>""</Duns_Plus_4>
              <Extract_Code>"A"</Extract_Code>
         </R3Row>
              <R3Row>
              <Duns>"001001928"</Duns>
              <Duns_Plus_4>""</Duns_Plus_4>
              <Extract_Code>"A"</Extract_Code>
         </R3Row>
    </R3File>
    Trigger File:
    <?xml version="1.0" encoding="UTF-8"?>
    <R3File>
              <R3Row>
              <Duns>"001001929"</Duns>
              <Duns_Plus_4>""</Duns_Plus_4>
              <Ccr_Extract_Code>"A"</Ccr_Extract_Code>
         </R3Row>
              <R3Row>
              <Duns>"9999"</Duns>
              <Duns_Plus_4>""</Duns_Plus_4>
              <Ccr_Extract_Code>"A"</Ccr_Extract_Code>
         </R3Row>
    </R3File>
    I ve tested the XPATH condition in XML Spy and that works fine. My doubts are on the property "Recordset structure" set as "Row,5".
    Any suggestions on this will be very helpful.
    Thanks,
    Mujtaba

    Hi Debnilay,
    We do have 64 bit architecture and still we have the file processing problem. Currently we are splitting the file into smaller chuncks and processsing. But we want to process as a whole file.
    Thanks
    Steve

  • What is the maximum file size for CSV that Excel can open ? (Excel 2013 64bit)

    Hello,
    Before anyone jumps in, I am not talking about the maximum worksheet size of 1048576 rows by 16384 columns.
    I have  client whom has a 1.5 Gb CSV file, 1.9, 2.6, 5, 17 and 89 Gb file (Huge).
    If I open the 1.5 Gb, the file opens (After waiting 5 minutes) and then a warning pops up that only the first 1048576 rows have loaded. That is fair enough.
    If I try and open any of the others, Excel comes up to a blank worksheet. No errors. It just seems to ignore the file I tried to open. This happens from within Excel (File - open) or from double clicking the file in explorer.
    Excel goes to this blank page almost imeadiatly. It does not even try to open the file.
    If I try with Ms Access, I get a size warning and it refuses to load the file. (At least I get a warning)
    I would have expected Excel to load at least the first 1048576 rows  (If that is what there are in the file), and give an error.
    The computer is more than capable (Xeon processors, 16 Gb ram, SSD hard disks top of the line HP Z820 power workstation).
    With the 1.5 Gb file loaded to 1048576 rows, it uses 15% ram/pagefile. CPU's hit about 5%.
    I have confirmed it is Win 7 64bit, Excel 64bit. I am fairly confident we are over the file size but without an error message, I don't know what to tell my client whom is looking to me for answers.
    I have already discussed that the 89gb file in Excel is unreasonable and they are looking at a stat's package but I need an answer on these smaller files.
    Anyone got any ides ?
    Michael Jenkin (Mickyj) www.mickyj.com (Community website) - SBS MVP (2004 - 2008) *5 times Microsoft MVP award winner *Previously MacWorld Australia contributer *Previously APAC Vice Chairman Culminis (Pro IT User group support system)* APAC chairman GITCA
    *Director Business Technology Partners, Microsoft Small Business Specialist, SMB150 2012 Member

    Hi,
    The 1,048,576 rows & 16,384 columns is the
    workbook size limitation in Excel 2013. Thus, I recommend we try the Mr. Bernie's suggestions to import the large CSV file.
    1. Use VBA to read the file line by line and split/examine the import file in sections. If you have further question about the VBA, please post your question to the MSDN forum for Excel
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
    2. Use Excel 2013 add-ins. Power Pivot and Power Query. For more detailed information, please see the below articles: 
    http://social.technet.microsoft.com/Forums/en-US/9243a533-4575-4fd6-b93a-4b95d21d9b10/table-with-more-than-1-048-576-rows-in-power-query-excel-2013?fo
    http://www.microsofttrends.com/2014/02/09/how-much-data-can-powerpivot-really-manage-how-about-122-million-records/
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Thanks
    George Zhao
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click "[email protected]"

  • How do I find a file size for a project in its entirety ???, How do I find a file size for a project in its entirety ???

    How do I find a file size for a aperture project in its entirety ????

    You can't. The Aperture library is a combination of database and flat files, a project can be split among multiple files in combination with other projects. The size of any of those files (or a sum of the files) would have no meaning concerning the size of a project.
    BTW typing in a large bold font like you did is seen by many in then on-line community as a sign of shouting and is considered bad form. I'm sure you didn't mean to shout at us here as we are all just users here freely giving of our time to try and help folk like yourself so please in the future use the standard font.
    regards

  • Any Way to Change Thickness of Connector Lines for all lines of a Chart?

    Post Author: ScottL
    CA Forum: Charts and Graphs
    Hi All,
    I am trying to change the thickness of a Chart's Connector Lines for all lines of a chart and cannot find a way to accomplish this. I can go into Report Preview and individually change the thickness one at a time, but what if I do not know how many lines I will have (as in a Line Chart) ? I can't find a way to do this through Crystal Reports XI.
    Many thanks in advance!
    Scott

    I think it's even easier to just match frame the "source file"... put your playhead on the clip you want to speed change in your sequence. Then type optioncmdf. Perform the speed change in the Viewer, then simply cut it in... Might help to put it up above the older, use the double arrow selection tool facing right to move the clips past this change later... pull the upper track speed changed clip down over the old, and viola.
    Gotta say though, it's a lot easier to perform the speed change in the Viewer, and edit it all in as you go rather than doing it after you've put the clip in a sequence. (not always possible to determine what the speed change should be maybe, but sure easier.... FCP 7 handles this problem a lot better for sure, and worth the upgrade price if your machine is compatible.
    Jerry

Maybe you are looking for

  • I can't get a SWF file that runs perfectly in browsers to run in the Business Catalyst environment

    My website has 3 parts. The initial HTML page which upon opening plays a video. The link below gives you that.  http://wrysmilebooks.businesscatalyst.com (It takes a few seconds to get going)    When the video ends a SWF file plays. The code below sh

  • MM Help plz Urgent

    Hi, I want to see Purchase order wise report. The report should show PO wise payment in FI. PO field is EBLEN and i am unable to find its link to BSIK or BSAK. The reason is that they are not maintaining EBELN in both these table. I tried on LIFNR bu

  • Schedule Manager question

    HI, Do we have a schedule manager in XI 3.1 as in XIR2 where we can change the database logon information for multiple reports at once? Thanks..

  • Fpga compilation problem (generating cores)

    Hello.  I am working in a lab trying to compile an FPGA for the cRIO 9074 module.  There are no erros when beginning the compilation, and it runs smoothly until it reaches the "generating cores" step.  At this point the following message repeats itse

  • Search results not showing certain apps in appstore!!??

    Hello, When I search for a certain app/game in the app store on my ipad, it does not come up in the results.. Have encountered this several times so far, who knows how long it has been like this.. PLEASE help? I have done  the simple little obvious t