473,397 Members | 1,972 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

SQL Server Integration Services please HELP

Hi,

Can someone help me on SSIS?

I have a text file with following line

123,U Sdn Bhd,13333
234,Good3 Food Bhd,
236,Good9 Food Bhd,12232
238,Good8 Food Bhd,
239,Hi Sdn Bhd
2233,Store Sdn Bhd,2233


I use SSIS package to import the row value, you can notice that there is 3 column, so i SSIS i define it as sColumn0, sColumn1, sColumn2.

Then in script task manager, i use vbscript to display the value as following:-

MsgBox(Trim(Dts.Variables("User::sColumn0").Value. ToString) & " --- " & Trim(Dts.Variables("User::sColumn1").Value.ToStrin g) & " --- " & Trim(Dts.Variables("User::sColumn2").Value.ToStrin g))


all working fine, BUT until the line -> 239,hi Sdn Bhd
the error come out, it should display only -> 239 --- Hi Sdn Bhd,

BUT it display 239 --- Hi Sdn Bhd --- 2233

which is 2233 is a last line records column1

what is the happen? is it because I declare 3 variables in SSIS, but in this line, i only put two values which is -> 239,Hi Sdn Bhd?

I should put 239,Hi Sdn Bhd,xxxx???

but SSIS should read brand new start next line right?

is it delimier problem?



Finally, when i change my text file to:-
123,U Sdn Bhd,13333
234,Good3 Food Bhd,
236,Good9 Food Bhd,12232
238,Good8 Food Bhd,
239,Hi Sdn Bhd,3322
2233,Store Sdn Bhd,2233

it will read row by row,
can someone help me?
Apr 24 '07 #1
0 1049

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: jim_geissman | last post by:
Can anyone please point me to a study comparing SQL 2005's integration services with Ascential, specifically for the tasks of (a) matching records about residential properties and transactions...
16
by: Jeremy S. | last post by:
I'm about to install VS.NET 2005 and SQL Server 2005 on a new/clean development machine (XP Pro/SP2 etc). Is the order of installation important (i.e., which product should I install first)? ...
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
1
by: YellowfinTeam | last post by:
Marketplace: Yellowfin reporting 3.1 with BIRT Integration Yellowfin is proud to announce the release of 3.1. The major theme of this release is enhanced integration capability. We have...
0
by: WI Projects | last post by:
Hi, A CMM Level 5 company is looking for Microsoft Business Intelligence (MS BI) professionals for its Hyderabad location. There is a an element of onsite travel & work to this position. ...
1
by: kataoki | last post by:
Hi, This is the log file for my SP1 on 2005 install. Can anyone please look at this and tell me if this looks normal? I'm concerned about the following in the log: "Failed to read registry...
0
by: johnlim20088 | last post by:
Hi I have a project implement in SQL Server Integration Services, I can import the file, but I want to check 'Duplicate', Can I do something on Data Flow task? ANyone please help
1
by: vinodkus | last post by:
dear sir/madam How to convert sql server data to ms access. Please help me Thanks in advance
10
by: Scott M. | last post by:
I've seen many posts and ready articles discussing how changing the membership & roles "provider" in VS .NET is easy, but have yet to see instructions on how to do it. If I already have SQL...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.