Click here to Skip to main content
15,877,168 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to nest bulk insert procedure within a stored proc??
Posted
Comments
nilesh sawardekar 17-Jul-14 2:59am    
bulk insert from specific file format?
Anup Shetty 17-Jul-14 7:36am    
Create PROCEDURE [dbo].[sp_BulkInsert]

@pathName varchar(250)
AS
BEGIN
BULK INSERT dbo.PID
FROM '@pathname'
WITH
(
FIELDTERMINATOR = ',',
ROWTERMINATOR = '\n',
CODEPAGE = 'RAW'
)

END

Error:@pathname doesnt exist even though i hv set the path

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900