Results 1 to 4 of 4

Thread: Bulk Upload - SQL Express

  1. #1
    Join Date
    May 2006
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Bulk Upload - SQL Express

    Firstly, I am new to SQL so be gentle.

    I have 700,000 records of search data to upload to my database split into tilde '~' delimited files (5000 records per file), I used the ~ due to comma's in the text, I have a connection to my online database using SQL Server Management Express (2005).

    I have a script that will upload to the table, but no permission to BULK upload.

    BULK
    INSERT Search_Date
    FROM 'C:\Temp\20080414.txt'
    WITH
    (
    FIELDTERMINATOR = '~',
    ROWTERMINATOR = '\n'
    )
    GO

    How do I GRANT BULK permissions, it is not on the user properties.
    Or is there a better quicker way of populating this table?

    Any replies in Idiot proof steps please.

    David

  2. #2
    Join Date
    Feb 2004
    Posts
    4,877
    Thanks
    2
    Thanked 134 Times in 113 Posts

    Default

    You will not be able to use BULK IMPORT on our shared database servers, mainly because you have no file access for the server to read an uploaded file from.
    Warren Ashcroft
    Red Fox UK Limited - Pioneers in Internet Technology
    http://www.redfoxuk.com
    w.ashcroft [at] redfoxuk.com

    NOTE: Forum Private Messaging should not be used to contact staff with support queries.

  3. The Following User Says Thank You to Warren Ashcroft For This Useful Post:

    RFH Customer: DavidCox (10th November 2008)

  4. #3
    Join Date
    May 2006
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks Warren,

    I am using DNN does anyone know of a module or any other method of populating the table from text files?

    David

  5. #4
    Join Date
    Jan 2006
    Posts
    419
    Thanks
    2
    Thanked 16 Times in 16 Posts

    Default

    ok, not sure if this will work. Right click on database in SSMS and choose import option and follow dialogs.

    Or write a quick .NET page where you upload a data file and then loop over the file and save it to the relevant database table(s).

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. .NET Role/Membership - SQL Server/Express
    By alano999 in forum Technical Support
    Replies: 3
    Last Post: 16th February 2008, 12:58 PM
  2. Bulk Email
    By creativeworks in forum General Technical Support
    Replies: 14
    Last Post: 20th September 2007, 12:38 PM
  3. Replies: 9
    Last Post: 20th February 2007, 09:17 PM
  4. Replies: 10
    Last Post: 6th December 2006, 02:48 PM
  5. SQL 2005 Express
    By DavidJenkins in forum MSSQL
    Replies: 2
    Last Post: 5th January 2006, 07:06 PM

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
  •