Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Loading for 6th Record

This is a discussion on Loading for 6th Record within the Data Warehousing forums, part of the Databases category; In case of flat file I dont want to load first 5 rows in the target? It must load from the 6th record. Can anyone help me out. NOTE : ...

Go Back   Geeks Talk > Databases > Data Warehousing
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

Data Warehousing Data Warehousing

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-10-2007
Expert Member
 
Join Date: Oct 2006
Posts: 689
Thanks: 0
Thanked 53 Times in 44 Posts
JobHelper is on a distinguished road
Loading for 6th Record

In case of flat file I dont want to load first 5 rows in the target? It must load from the 6th record. Can anyone help me out.

NOTE : [This question was asked by Vinoth]
Reply With Quote
The Following User Says Thank You to JobHelper For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 06-16-2008
Junior Member
 
Join Date: Jun 2008
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
nkalis is on a distinguished road
Re: Loading for 6th Record

then put the number 5 when u import the file, the designer will ask no. of rows to skip.
there givn 5 .it will skip 5 rows and start loading from 6 row.
Reply With Quote
  #3 (permalink)  
Old 06-25-2008
Contributing Member
 
Join Date: Dec 2007
Location: INDIA
Posts: 36
Thanks: 1
Thanked 6 Times in 6 Posts
cme_prak is on a distinguished road
Smile Loading for 6th Record

Hi,

Logic
------

SRC----EXP-----FIL------TGT

In expression create one varaible port(V_SEQ_NO)

STEP 1: Write this expresssion in variable pt->
IF(ISNULL(V_SEQ_NO),1,V_SEQ_NO+1)
STEP 2: Pass this port to FILTER
STEP 3: In Filter condition, V_SEQ_NO = 6

Please get back to me in case of queries.

Thx & Regards,
Prakash
Reply With Quote
  #4 (permalink)  
Old 07-02-2008
Junior Member
 
Join Date: Jul 2008
Location: hyd
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
chiru4015 is on a distinguished road
Smile Re: Loading for 6th Record

Quote:
Originally Posted by JobHelper View Post
In case of flat file I dont want to load first 5 rows in the target? It must load from the 6th record. Can anyone help me out.

NOTE : [This question was asked by Vinoth]
take filter after s.q and filter first five records.
Reply With Quote
  #5 (permalink)  
Old 07-02-2008
Junior Member
 
Join Date: Jul 2008
Location: hyd
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
chiru4015 is on a distinguished road
Smile Re: Loading for 6th Record

Quote:
Originally Posted by JobHelper View Post
In case of flat file I dont want to load first 5 rows in the target? It must load from the 6th record. Can anyone help me out.

NOTE : [This question was asked by Vinoth]
take expression transformation in that generate sequence by usin variables after that put filter and filter first five records.
Reply With Quote
  #6 (permalink)  
Old 07-08-2008
I am the DON
 
Join Date: Apr 2006
Location: Just on Earth with all....
Posts: 103
Thanks: 1
Thanked 33 Times in 26 Posts
sanghala is on a distinguished road
Lightbulb Re: Loading for 6th Record

Quote:
Originally Posted by chiru4015 View Post
take filter after s.q and filter first five records.
With what Chiru........!

Please follow the step given by cme_prak
__________________
Sanghala
www.dwforum.net - A Great resource for Data Warehousing Professionals

If you are satisfied with my reply. Please click “Thanks” button which increases the reputation and can serve you better.
Reply With Quote
Reply

  Geeks Talk > Databases > Data Warehousing

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Record and Playback feature Lokesh M Test Cases 3 12-30-2008 11:18 AM
Loading Library at Run time (.vbs file) psuresh1982 VB.NET 2 02-01-2007 08:18 AM
Loading a ListBox from a Recordset (in C++) ultranet C and C++ 1 12-29-2006 08:58 AM
Difference between V, VB, VBA record formats Lokesh M VB.NET 0 12-07-2006 05:57 AM


All times are GMT -4. The time now is 01:34 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved