Click here to Skip to main content
15,887,464 members
Home / Discussions / Database
   

Database

 
QuestionHow to store audio, vedio, Image file in SQL server Pin
monulove2u7-Jul-11 4:21
monulove2u7-Jul-11 4:21 
AnswerRe: How to store audio, vedio, Image file in SQL server Pin
Blue_Boy7-Jul-11 4:34
Blue_Boy7-Jul-11 4:34 
AnswerRe: How to store audio, vedio, Image file in SQL server Pin
Ravi Sant7-Jul-11 4:47
Ravi Sant7-Jul-11 4:47 
AnswerRe: How to store audio, vedio, Image file in SQL server Pin
PIEBALDconsult7-Jul-11 14:34
mvePIEBALDconsult7-Jul-11 14:34 
GeneralRe: How to store audio, vedio, Image file in SQL server Pin
Mycroft Holmes7-Jul-11 22:04
professionalMycroft Holmes7-Jul-11 22:04 
AnswerRe: How to store audio, vedio, Image file in SQL server Pin
jschell8-Jul-11 12:23
jschell8-Jul-11 12:23 
AnswerRe: How to store audio, vedio, Image file in SQL server Pin
nilesh ubhe11-Jul-11 18:54
nilesh ubhe11-Jul-11 18:54 
QuestionSSIS: Trying to update a subset of columns in an Ole Db Destination from a flat file source Pin
Alaric_6-Jul-11 2:15
professionalAlaric_6-Jul-11 2:15 
So we've got a single Solicitations table that logs all outbound solicitations that get wrapped up into a file and dropped on our FTP site as well as holding columns for handling the inbound processing when the records make their roundtrip back to our system.

So, for instance:

Table has columns
GUID|AccountID|AccountNumber|PhoneNumber|FirstName|LastName|Street|City|State|Zip|Code|CodeDescription|Agent|Date
GUID, AccountID, AccountNumber, PhoneNumber, City, State, & Zip are stored in the Log table on outbound processing, with the inbound columns defaulted to NULLS.
When the information comes back into our system after the Marketing call has been made, it will return all of the data that we sent out plus the remaining fields all in a csv format.
So, a record might go out looking like this:
'1234-5678-ABC-BLAH',5,'666321234','800-123-4567','Chasey','Lane','976 Gloryhole Ave','Los Angeles','CA','66699'

and it will come back looking like this:
'1234-5678-ABC-BLAH',5,'666321234','800-123-4567','Chasey','Lane','976 Gloryhole Ave','Los Angeles','CA','66699',170,'Sealed the Deal','Ron Jeremy',07/06/2011

For the inbound processing, I want to create an SSIS package with a Data Flow that uses a Flat File Source to pick up the inbound file and have an OLE DB Destination execute a SQL Command that maps the inbound fields to the specific columns that are coming out of the csv file.
I'm basically to here:
UPDATE Solicitations SET Code = ? , CodeDescription = ? , Agent = ? , Date = ? 
WHERE GUID = ?
  AND AccountID = ? 
  AND AccountNumber = ? 


How do I reference the Flat File Source in my command? How do I assure that the correct parameter values are being pushed into the command in the correct reference positions? Am I overthinking the problem?
"I need build Skynet. Plz send code"

Questionis it possible restore file( which back up in ms-sql2008) to ms-sql 2005? Pin
buffering835-Jul-11 23:50
buffering835-Jul-11 23:50 
AnswerRe: is it possible restore file( which back up in ms-sql2008) to ms-sql 2005? Pin
scottgp6-Jul-11 1:35
professionalscottgp6-Jul-11 1:35 
AnswerRe: is it possible restore file( which back up in ms-sql2008) to ms-sql 2005? Pin
Shameel6-Jul-11 21:48
professionalShameel6-Jul-11 21:48 
QuestionDeadlock problem Pin
Y_Kaushik5-Jul-11 19:18
Y_Kaushik5-Jul-11 19:18 
SuggestionRe: detecting and ending Deadlocks Pin
David Mujica6-Jul-11 3:08
David Mujica6-Jul-11 3:08 
AnswerRe: Deadlock problem Pin
MecAlex10-Jul-11 22:40
MecAlex10-Jul-11 22:40 
QuestionMySQL in-memory table vs. SQLite in-memory DB Pin
GregStevens5-Jul-11 17:32
GregStevens5-Jul-11 17:32 
AnswerRe: MySQL in-memory table vs. SQLite in-memory DB Pin
Eddy Vluggen8-Jul-11 13:02
professionalEddy Vluggen8-Jul-11 13:02 
QuestionRID|Key lookup vs Index Seek? [modified] Pin
devvvy5-Jul-11 17:23
devvvy5-Jul-11 17:23 
AnswerRe: RID|Key lookup vs Index Seek? Pin
dasblinkenlight6-Jul-11 6:13
dasblinkenlight6-Jul-11 6:13 
GeneralRe: RID|Key lookup vs Index Seek? Pin
devvvy10-Jul-11 0:11
devvvy10-Jul-11 0:11 
QuestionFeeding parameters from a C# app into an SSIS package that converts query results to CSV and FTP [modified] Pin
Alaric_5-Jul-11 12:34
professionalAlaric_5-Jul-11 12:34 
AnswerRe: Feeding parameters from a C# app into an SSIS package that converts query results to CSV and FTP Pin
Alaric_7-Jul-11 6:44
professionalAlaric_7-Jul-11 6:44 
QuestionLow-level filtering of IsDeleted bit field Pin
army_man716554-Jul-11 11:39
army_man716554-Jul-11 11:39 
AnswerRe: Low-level filtering of IsDeleted bit field Pin
Johan Hakkesteegt5-Jul-11 1:48
Johan Hakkesteegt5-Jul-11 1:48 
GeneralHistory table Pin
David Mujica5-Jul-11 3:25
David Mujica5-Jul-11 3:25 
GeneralRe: History table Pin
Eddy Vluggen5-Jul-11 13:19
professionalEddy Vluggen5-Jul-11 13:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.