+ Reply to Thread
Results 1 to 5 of 5

Reading sql file from MS SQL Server

  1. #1
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,940

    Reading sql file from MS SQL Server

    Hi,

    i am connecting to ms sql server in order to execute sql command:

    Please Login or Register  to view this content.
    In BulkInsert.sql there is simple statement like:
    Bez*tytu?u.png
    But within debug.print first sign is "˙ţ".

    What is this? Why this sign is created?

    Thank you guys,
    Jacek
    Attached Images Attached Images

  2. #2
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,940

    Re: Reading sql file from MS SQL Server

    In attachment please find my MS SQL Server file.

    Thank you for helping,
    Jacek
    Attached Files Attached Files

  3. #3
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Reading sql file from MS SQL Server

    It's a byte order mark, and it's created due to the encoding of the sql file that's being produced. Try saving them as utf-8 or ANSI, that will get rid of it

  4. #4
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,940

    Re: Reading sql file from MS SQL Server

    Wow you are boss Kyle123!

    thank you once again !
    Working when i saved my queries with utf-8 encoding ;-)

    Best Wishes,
    Jacek

  5. #5
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Reading sql file from MS SQL Server

    Glad it helped

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Wildcard not working when i download single file from FTP server with .bat file
    By brently in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-10-2013, 05:54 PM
  2. Populate Server Function based on Server Name for Server Inventory
    By mvcp007 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-13-2013, 11:29 AM
  3. [SOLVED] reading contents of a file without opening the file using INDIRECT function
    By luv2glyd in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-22-2013, 01:55 PM
  4. Opening a file from ftp server without knowing the full file name
    By bysse in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-02-2010, 05:04 PM
  5. [SOLVED] reading txt file and copying the lines in new excel file
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-11-2006, 02:25 PM
  6. [SOLVED] reading data from 2nd file in 1st file using Combobox
    By Darius in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-22-2005, 12:05 PM
  7. reading from text file to excel file
    By dgoel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-18-2005, 03:06 PM
  8. [SOLVED] Reading a zip file
    By big t in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-16-2005, 11:59 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1