Error in SQL 2005!!!!

  • I've written a code as:

      

          bulk insert checkdata from 'E:\hi.txt'

         with(ROWTERMINATOR='\n',FIELDTERMINATOR=':')

     

          but , it is giving me the error. Could anyone tell the solution for this. The error is:

    ------------------------------------------------------------------- 

           Msg 4834, Level 16, State 4, Line 2

           You do not have permission to use the bulk load statement.

    ---------------------------------------------------------------------

     

    If it is a permission error , then i've done this to:

    GRANT ADMINISTER BULK OPERATIONS TO

        but still m getting the error as:

    Cannot grant, deny, or revoke permissions to sa, dbo, information_schema, sys, or yourself

       

        what should i do now, please tell me the remedy....I'm not able to get the solution for this. This is very exigently required.

       in advance thanks......

     

  • If you don't have ADMINISTER BULK OPERATIONS permission then you can't grant it to yourself.  You will need to ask somebody who is authorised to grant it (for example a system administrator) to do it for you.

    John

  •       no one is here to guide me for this. If this not too difficult so, could u please tell me how do that. the system admin is also not here.

        in advance thanks a lot...

  • If your sysadmin isn't there, then I think you're stuck.  Unless you can log in as someone with sysadmin rights, that is.

    John

  • Yes, if no one is there that is able to grant you the permissions you need, you are out of luck. You can not get the permissions any other way.


    My blog: SQL Soldier[/url]
    SQL Server Best Practices:
    SQL Server Best Practices
    Twitter: @SQLSoldier
    My book: Pro SQL Server 2008 Mirroring[/url]
    Microsoft Certified Master: SQL Server, Data Platform MVP
    Database Engineer at BlueMountain Capital Management[/url]

  • Then... Create SSIS package and choose FAST LOAD option ....

    I don't know they are calling option as FAST LOAD or something else in 2005.

     

    MohammedU
    Microsoft SQL Server MVP

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply