C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Tips » General »

Procedure for Uploading Phone Number in a Text File to SQL Server


Posted Date: 12 Oct 2009    Resource Type: Tips    Category: General
Author: Gopal Singh RathoreMember Level: Silver    
Rating: 1 out of 5Points: 4




USE [master]
GO
/****** Object: StoredProcedure [dbo].[sp_DNCUPLOAD] Script Date: 10/12/2009 21:27:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[sp_DNCUPLOAD]
@phonenumber nvarchar(255)
drop table [mms].[dbo].[tabPhone]


CREATE TABLE [mms].[dbo].[tabPhone] ( phonenumber nvarchar(255))
BULK INSERT [mms].[dbo].[tabPhone] FROM 'c:\aa\tabPhone.txt'
with ( ROWTERMINATOR = '\n')


execute [mms].[dbo].sp_DNCUPLOAD 'phonenumber'

Attachments

  • Bulk Upload Phone Number To SQL Server 2005 Using Procedure (33856-12130-Upload Bulk Phone to SQL Server 2005.txt)


  • Responses


    No responses found. Be the first to respond and make money from revenue sharing program.

    Feedbacks      
    Popular Tags   What are tags ?   Search Tags  
    Sign In to add tags.
    Procedure for Uploading Txt File in SQL Server 2005 Express  .  Loading Bulk Phone Number To SQL 2005 Express  .  

    Post Feedback


    This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
    You must Sign In to post a response.
    Next Resource: To remove virus from USB
    Previous Resource: Ctrl-F to Search - Cut your search time today
    Return to Discussion Resource Index
    Post New Resource
    Category: General


    Post resources and earn money!
     
    More Resources



    dotNet Slackers

    About Us    Contact Us    Privacy Policy    Terms Of Use