Geeks Talk

Prepare for your Next Interview




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 : [This ...


Go Back   Geeks Talk > Databases > Data Warehousing

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 02-10-2007
Expert Member
 
Join Date: Oct 2006
Posts: 690
Thanks: 0
Thanked 49 Times in 41 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: 32
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: 102
Thanks: 1
Thanked 31 Times in 24 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


Similar Threads

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


All times are GMT -4. The time now is 04:16 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved