Lost Password?
No account yet? Register
Increase font size Default font size Decrease font size Narrow screen resolution Wide screen resolution Auto adjust screen size default color red color blue color yellow color orange color
Support Forum
Welcome, Guest
Please Login or Register.    Lost Password?
How do I insert a specific value into MSSQL field (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: How do I insert a specific value into MSSQL field
#660
Frank (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
How do I insert a specific value into MSSQL field 8 Months, 2 Weeks ago Karma: 0  
The original file (delimited text) that I am reading has 6 fields to make up a single record. I have mapped the records all using the transformer to the appropriate MS SQL table. There however is a 7th field in the record which isn't part of the intial text file, which we use for grouping together the data (resort_id). This field usually contains an integer (in this case, the integer will be 1). How do I write that integer to each record along with the other fields that are already part of the record. What I need to do is create a field value to go into the MSSQL record.

 
Report to moderator   Logged Logged  
 
Last Edit: 2009/06/27 02:08 By Frank. Reason: added image
  The administrator has disabled public write access.
#662
admin (Admin)
Admin
Posts: 147
graph
User Online Now Click here to see the profile of this user
Re:How do I insert a specific value into MSSQL field 8 Months, 2 Weeks ago Karma: 0  
Frank

You may use Literal _object_ for it.

Add Literal _object_ to the transformation
Double click on it and enter the value you would like to use
Connect Literal to target field

John
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoard

Testimonials

My boss told me to keep looking for a more expensive application, assuming Visual Importer ETL couldn't be very good because the price was just too low.  After testing several imports I convinced him that Visual Importer did everything we want so there was no need to pay for a more expensive solution.

Ron Bradshaw,
IT Reporting Manager,
ConAgra Foods / Lamb Weston

 

Free Newsletter

Please provide your Name and Email address so that we can tell you about latest releases, new features and free offers.






b.150.100.16777215.0..Screenshots.DEWizardX.properties.JPG
DB Software Laboratory - Intel Software PartnerDB Software Laboratory - My SQL Ready Partner
DB Software Laboratory Embacadero Technology Partner