Showing posts with label hii. Show all posts
Showing posts with label hii. Show all posts

Wednesday, March 28, 2012

Having problems importing Data from 2 tables into 1. Please help.

Hi
I am new to SQL and am having problems importing data from two tables to one.
I have 3 tables : Franchise, Club and Reference.
Franchise has FranchiseID as Primary key and FranchiseNumber as unique.
Club has ClubID as Primary key.
Reference has a combination of ClubID and FranchiseNumber as primary key.
I am not able to insert data into table Reference from Franchise and Club.
Any help or suggestions would be highly appreciated. Thanks in advance.

Try the link below for INSERT INTO with Column list which gives you control of the order of INSERT. Hope this helps.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_ia-iz_5cl0.asp|||Thnx very much !!

Having Problem With installation

Hi:
I have already installed QSL 2005 on a win 2003 machine. The installation was without erroe or something but when I open services I do not see any sql in there and when I open the management interface there is no machine detected there. Would you please help me to run this software. When in the management tool I try to connect to the server this is the error I get:

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)

and when I try to surface area configuration this is my error message:

No SQL Server 2005 components were found on the specified computer. Either no components are installed, or you are not an administrator on this computer. (SQLSAC)

Thanks

Go to Add/Remove Programs from the Control Pannel. You should find an entry for "Microsoft SQL Server 2005" select it and click "Change" Once the dialog comes up you should see a "Report" button, click it. This will show you all of the SQL Server 2005 features installed. Copy and Paste this back to this thread.|||

===================================

No SQL Server 2005 components were found on the specified computer. Either no components are installed, or you are not an administrator on this computer. (SQLSAC)
=================================

and my SQL SErver says no instance has been found or installed on ur PC... i tried installing and uninstalling this atleast 4 times...i need help... i am encountering the same problem on another machine tooo...plzzz help me out

The configuration of two machines on which SQL servers produce this ERROR are

p4 2.4 Ghz, 512 MB ram, 845 intel original motherboard ,52 x cd R/W 80 gb HDD

AMD Athlon 64 Bit 3000 +, 512 MB ram, Asus motherboard ,52 x cd R/W 80 gb HDD

Operating System installed on two machines are ~~~> Windows XP 2002 Service pack 2

REport File is as follows

System Configuration Check

- WMI Service Requirement (Success)
Messages
* WMI Service Requirement
* Check Passed

- MSXML Requirement (Success)
Messages
* MSXML Requirement
* Check Passed

- Operating System Minimum Level Requirement (Success)
Messages
* Operating System Minimum Level Requirement
* Check Passed

- Operating System Service Pack Level Requirement. (Success)
Messages
* Operating System Service Pack Level Requirement.
* Check Passed

- SQL Server Edition Operating System Compatibility (Warning)
Messages
* SQL Server Edition Operating System Compatibility
* Some components of this edition of SQL Server are not supported on this operating system. For details, see 'Hardware and Software Requirements for Installing SQL Server 2005' in Microsoft SQL Server Books Online.

- Minimum Hardware Requirement (Warning)
Messages
* Minimum Hardware Requirement
* The current system does not meet the minimum hardware requirements for this SQL Server release. For detailed hardware and software requirements, see the readme file or SQL Server Books Online.

- IIS Feature Requirement (Success)
Messages
* IIS Feature Requirement
* Check Passed

- Pending Reboot Requirement (Success)
Messages
* Pending Reboot Requirement
* Check Passed

- Performance Monitor Counter Requirement (Success)
Messages
* Performance Monitor Counter Requirement
* Check Passed

- Default Installation Path Permission Requirement (Success)
Messages
* Default Installation Path Permission Requirement
* Check Passed

- Internet Explorer Requirement (Success)
Messages
* Internet Explorer Requirement
* Check Passed

- COM Plus Catalog Requirement (Success)
Messages
* COM Plus Catalog Requirement
* Check Passed

- ASP.Net Version Registration Requirement (Success)
Messages
* ASP.Net Version Registration Requirement
* Check Passed

- Minimum MDAC Version Requirement (Success)
Messages
* Minimum MDAC Version Requirement
* Check Passed

|||For the error msg you're getting it sounds like you're attempting to install the Enterprise Edition on Windows XP SP2. Enterprise Edition is not supported on Windows XP - only Windows 2000 Server and Windows 2003 Server.|||

Hi Bobby62,

Your error "No SQL Server 2005 components were found on the specified computer" can be caused if you installed SQL Server 2005 using Disc 2 of 2. I actually did this myself accidentally. I didn't realize there were two "Premium Technologies" CD's (those shiny discs are hard to read)! So I had accidentally done the installation from disc 2. The setup process appeared legit, when in fact it only installed the client apps.

In short, make sure you're installing SQL 2005 from disc 1 of 2.

Regards,

Doug

Having Problem With installation

Hi:
I have already installed QSL 2005 on a win 2003 machine. The installation was without erroe or something but when I open services I do not see any sql in there and when I open the management interface there is no machine detected there. Would you please help me to run this software. When in the management tool I try to connect to the server this is the error I get:

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)

and when I try to surface area configuration this is my error message:

No SQL Server 2005 components were found on the specified computer. Either no components are installed, or you are not an administrator on this computer. (SQLSAC)

Thanks

Go to Add/Remove Programs from the Control Pannel. You should find an entry for "Microsoft SQL Server 2005" select it and click "Change" Once the dialog comes up you should see a "Report" button, click it. This will show you all of the SQL Server 2005 features installed. Copy and Paste this back to this thread.|||

===================================

No SQL Server 2005 components were found on the specified computer. Either no components are installed, or you are not an administrator on this computer. (SQLSAC)
=================================

and my SQL SErver says no instance has been found or installed on ur PC... i tried installing and uninstalling this atleast 4 times...i need help... i am encountering the same problem on another machine tooo...plzzz help me out

The configuration of two machines on which SQL servers produce this ERROR are

p4 2.4 Ghz, 512 MB ram, 845 intel original motherboard ,52 x cd R/W 80 gb HDD

AMD Athlon 64 Bit 3000 +, 512 MB ram, Asus motherboard ,52 x cd R/W 80 gb HDD

Operating System installed on two machines are ~~~> Windows XP 2002 Service pack 2

REport File is as follows

System Configuration Check

- WMI Service Requirement (Success)
Messages
* WMI Service Requirement
* Check Passed

- MSXML Requirement (Success)
Messages
* MSXML Requirement
* Check Passed

- Operating System Minimum Level Requirement (Success)
Messages
* Operating System Minimum Level Requirement
* Check Passed

- Operating System Service Pack Level Requirement. (Success)
Messages
* Operating System Service Pack Level Requirement.
* Check Passed

- SQL Server Edition Operating System Compatibility (Warning)
Messages
* SQL Server Edition Operating System Compatibility
* Some components of this edition of SQL Server are not supported on this operating system. For details, see 'Hardware and Software Requirements for Installing SQL Server 2005' in Microsoft SQL Server Books Online.

- Minimum Hardware Requirement (Warning)
Messages
* Minimum Hardware Requirement
* The current system does not meet the minimum hardware requirements for this SQL Server release. For detailed hardware and software requirements, see the readme file or SQL Server Books Online.

- IIS Feature Requirement (Success)
Messages
* IIS Feature Requirement
* Check Passed

- Pending Reboot Requirement (Success)
Messages
* Pending Reboot Requirement
* Check Passed

- Performance Monitor Counter Requirement (Success)
Messages
* Performance Monitor Counter Requirement
* Check Passed

- Default Installation Path Permission Requirement (Success)
Messages
* Default Installation Path Permission Requirement
* Check Passed

- Internet Explorer Requirement (Success)
Messages
* Internet Explorer Requirement
* Check Passed

- COM Plus Catalog Requirement (Success)
Messages
* COM Plus Catalog Requirement
* Check Passed

- ASP.Net Version Registration Requirement (Success)
Messages
* ASP.Net Version Registration Requirement
* Check Passed

- Minimum MDAC Version Requirement (Success)
Messages
* Minimum MDAC Version Requirement
* Check Passed

|||For the error msg you're getting it sounds like you're attempting to install the Enterprise Edition on Windows XP SP2. Enterprise Edition is not supported on Windows XP - only Windows 2000 Server and Windows 2003 Server.|||

Hi Bobby62,

Your error "No SQL Server 2005 components were found on the specified computer" can be caused if you installed SQL Server 2005 using Disc 2 of 2. I actually did this myself accidentally. I didn't realize there were two "Premium Technologies" CD's (those shiny discs are hard to read)! So I had accidentally done the installation from disc 2. The setup process appeared legit, when in fact it only installed the client apps.

In short, make sure you're installing SQL 2005 from disc 1 of 2.

Regards,

Doug

Monday, March 19, 2012

Hardware specification query

Hi
I am specifying some hardware for an application server. It will be running
two SQL applications - both applications will have about 20 users.
Throughput will be relatively low with regards to transactions. Both
software vendors would prefer their own server, but I'd rather keep both on
the same box. Both software vendors state specifically that they need a
seperate array for the transaction logs.
I'm thinking of the following:
Dual Xeon (dual core)
7GB RAM (1 GB for OS, 3GB for App1, 3 GB for App2)
RAID1(2 x 74GB15k SCSI) for OS, RAID5(3x146GB 15k SCSI) for App1 database,
RAID5(3x146GB 15k SCSI) for App2 database, RAID1(2x36GB15k SCSI) for App1
transaction logs, RAID1(2x36GB15k SCSI) for App2 transaction logs.
A couple of questions:
Could both transaction logs sit on the same RAID array without any real
decrease in performance?
Would I be better going RAID 10 for the database files as opposed to RAID 5?
Thanks in advance
Robbie
Robbie,
From your proposal, it looks like you are blessed with adequate resources.
In fact, for two applications, each with about 20 users, you have proposed
an incredibly 'robust' server.
I'd keep the Logs on separate RAID1 arrays for the optimal performance. If
the db size and storage requirements allow, the databases might be faster
and more 'robust' on the same RAID10 array (instead of separate RAID5
arrays).
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf
"Robbie Niblock" <robbie@.nospam.com> wrote in message
news:OM95gc49GHA.924@.TK2MSFTNGP03.phx.gbl...
> Hi
> I am specifying some hardware for an application server. It will be
> running two SQL applications - both applications will have about 20 users.
> Throughput will be relatively low with regards to transactions. Both
> software vendors would prefer their own server, but I'd rather keep both
> on the same box. Both software vendors state specifically that they need a
> seperate array for the transaction logs.
> I'm thinking of the following:
> Dual Xeon (dual core)
> 7GB RAM (1 GB for OS, 3GB for App1, 3 GB for App2)
> RAID1(2 x 74GB15k SCSI) for OS, RAID5(3x146GB 15k SCSI) for App1 database,
> RAID5(3x146GB 15k SCSI) for App2 database, RAID1(2x36GB15k SCSI) for App1
> transaction logs, RAID1(2x36GB15k SCSI) for App2 transaction logs.
> A couple of questions:
> Could both transaction logs sit on the same RAID array without any real
> decrease in performance?
> Would I be better going RAID 10 for the database files as opposed to RAID
> 5?
> Thanks in advance
> Robbie
>

Hardware specification query

Hi
I am specifying some hardware for an application server. It will be running
two SQL applications - both applications will have about 20 users.
Throughput will be relatively low with regards to transactions. Both
software vendors would prefer their own server, but I'd rather keep both on
the same box. Both software vendors state specifically that they need a
seperate array for the transaction logs.
I'm thinking of the following:
Dual Xeon (dual core)
7GB RAM (1 GB for OS, 3GB for App1, 3 GB for App2)
RAID1(2 x 74GB15k SCSI) for OS, RAID5(3x146GB 15k SCSI) for App1 database,
RAID5(3x146GB 15k SCSI) for App2 database, RAID1(2x36GB15k SCSI) for App1
transaction logs, RAID1(2x36GB15k SCSI) for App2 transaction logs.
A couple of questions:
Could both transaction logs sit on the same RAID array without any real
decrease in performance?
Would I be better going RAID 10 for the database files as opposed to RAID 5?
Thanks in advance
RobbieRobbie,
From your proposal, it looks like you are blessed with adequate resources.
In fact, for two applications, each with about 20 users, you have proposed
an incredibly 'robust' server.
I'd keep the Logs on separate RAID1 arrays for the optimal performance. If
the db size and storage requirements allow, the databases might be faster
and more 'robust' on the same RAID10 array (instead of separate RAID5
arrays).
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf
"Robbie Niblock" <robbie@.nospam.com> wrote in message
news:OM95gc49GHA.924@.TK2MSFTNGP03.phx.gbl...
> Hi
> I am specifying some hardware for an application server. It will be
> running two SQL applications - both applications will have about 20 users.
> Throughput will be relatively low with regards to transactions. Both
> software vendors would prefer their own server, but I'd rather keep both
> on the same box. Both software vendors state specifically that they need a
> seperate array for the transaction logs.
> I'm thinking of the following:
> Dual Xeon (dual core)
> 7GB RAM (1 GB for OS, 3GB for App1, 3 GB for App2)
> RAID1(2 x 74GB15k SCSI) for OS, RAID5(3x146GB 15k SCSI) for App1 database,
> RAID5(3x146GB 15k SCSI) for App2 database, RAID1(2x36GB15k SCSI) for App1
> transaction logs, RAID1(2x36GB15k SCSI) for App2 transaction logs.
> A couple of questions:
> Could both transaction logs sit on the same RAID array without any real
> decrease in performance?
> Would I be better going RAID 10 for the database files as opposed to RAID
> 5?
> Thanks in advance
> Robbie
>

Monday, February 27, 2012

Handling SQLServerCE DataBase By windows application ?

Hi

i have the following problem :

i attempted to connect with a SQLServerCE DataBase

to Insert and update its rows, but i noticed that i want the reference :

System.Data.SqlServerCe

i went to (Add references) but i didn't find it ..

what should i do to break this problem ?

please help me !

Hi Imad

I have moved your treat to the Devices team who should be able to help you

mairead

PM, TS Data

|||

Hello and sorry for the delayed reply.

Just a question first - are you attemping to open a SqlServerCe database on your desktop PC or on a mobile device (like a Pocket PC / Smartphone)? This is important because we want to add the correct DLL to your project.

If you're opening the database on the desktop, then we can find the System.Data.SqlServerCe.DLL in the directory where DEVENV.EXE is. That would be something like C:\Program Files\Microsoft Visual Studio 8\Common7\IDE

If you're opening the database on a device, then we can find the System.Data.SqlServerCe.DLL in the Mobile SDK folder. That would be something like C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Mobile\v3.0

If either of the DLLs are missing then it means your SQLServerCe SDK is not installed on your machine. The easiest way to fix this is to REPAIR the visual studio installation. This will re-install the SDK and ensure the DLLs are present on the machine.

Please let me know how it works out,

Kind regards,

Carlton Lane

Microsoft Visual Basic Team

|||

I am trying to use desktop application to open a Sqlserverce database that located on the PDA. but it throw this exception:

Unable to load DLL 'sqlceme30.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

I checked and see System.Data.SqlServerCe.DLL exists under:

D:\Program Files\Microsoft Visual Studio 8\Common7\IDE

D:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Mobile\v3.0

Actually it throw that exception no matter what database I am trying to open. here is my code:

connStr = "Data Source =""Mobile Device\Program Files\Barcode_PDA\pda.sdf"";"
conn1 = New SqlServerCe.SqlCeConnection(connStr) < this generates the error

Thanks for your help!

|||

Hi Alex,

I'm sorry but the scenairo of opening a database on a device remotely from a desktop PC isnt supported by the SQLCE engine. Eventually, you'll get an error about the connection string being invalid. This is because the engine is targeting local data scenarios - that is where the Application and Database reside on the same machine, in the same process. This scenario starts to touch on client / server scenarios which currently arent supported.

Your current error about the missing dlls is telling us that the application is starting but cant find the engine. These dlls are found next to the System.Data.SqlServerCe.dll file. The ones in the Common7\IDE are for your PC. THe ones in SmartDevices\SDK are for the device. For a PC application, copy the ones from Common7\IDE into the executing directory of your application. But again, after you get pass this error, you will eventually get an error about the connection string being invalid because this scenario isnt supported.

HTH and good luck,

Carlton

|||

hi everybody

first thank you for helping me ..

but i want to tell you that i have solved my problem easily by installing sql server everywhere edition CTP

to install sql serverce tools and then all dll's have been loaded correctly ..

Handling SQLServerCE DataBase By windows application ?

Hi

i have the following problem :

i attempted to connect with a SQLServerCE DataBase

to Insert and update its rows, but i noticed that i want the reference :

System.Data.SqlServerCe

i went to (Add references) but i didn't find it ..

what should i do to break this problem ?

please help me !

Hi Imad

I have moved your treat to the Devices team who should be able to help you

mairead

PM, TS Data

|||

Hello and sorry for the delayed reply.

Just a question first - are you attemping to open a SqlServerCe database on your desktop PC or on a mobile device (like a Pocket PC / Smartphone)? This is important because we want to add the correct DLL to your project.

If you're opening the database on the desktop, then we can find the System.Data.SqlServerCe.DLL in the directory where DEVENV.EXE is. That would be something like C:\Program Files\Microsoft Visual Studio 8\Common7\IDE

If you're opening the database on a device, then we can find the System.Data.SqlServerCe.DLL in the Mobile SDK folder. That would be something like C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Mobile\v3.0

If either of the DLLs are missing then it means your SQLServerCe SDK is not installed on your machine. The easiest way to fix this is to REPAIR the visual studio installation. This will re-install the SDK and ensure the DLLs are present on the machine.

Please let me know how it works out,

Kind regards,

Carlton Lane

Microsoft Visual Basic Team

|||

I am trying to use desktop application to open a Sqlserverce database that located on the PDA. but it throw this exception:

Unable to load DLL 'sqlceme30.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

I checked and see System.Data.SqlServerCe.DLL exists under:

D:\Program Files\Microsoft Visual Studio 8\Common7\IDE

D:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Mobile\v3.0

Actually it throw that exception no matter what database I am trying to open. here is my code:

connStr = "Data Source =""Mobile Device\Program Files\Barcode_PDA\pda.sdf"";"
conn1 = New SqlServerCe.SqlCeConnection(connStr) < this generates the error

Thanks for your help!

|||

Hi Alex,

I'm sorry but the scenairo of opening a database on a device remotely from a desktop PC isnt supported by the SQLCE engine. Eventually, you'll get an error about the connection string being invalid. This is because the engine is targeting local data scenarios - that is where the Application and Database reside on the same machine, in the same process. This scenario starts to touch on client / server scenarios which currently arent supported.

Your current error about the missing dlls is telling us that the application is starting but cant find the engine. These dlls are found next to the System.Data.SqlServerCe.dll file. The ones in the Common7\IDE are for your PC. THe ones in SmartDevices\SDK are for the device. For a PC application, copy the ones from Common7\IDE into the executing directory of your application. But again, after you get pass this error, you will eventually get an error about the connection string being invalid because this scenario isnt supported.

HTH and good luck,

Carlton

|||

hi everybody

first thank you for helping me ..

but i want to tell you that i have solved my problem easily by installing sql server everywhere edition CTP

to install sql serverce tools and then all dll's have been loaded correctly ..

Handling errors when using a Lookup Task

Hi

I am trying to use this painful new SSIS process. I basically need to use a lookup task to check to see whether a record exists or not. If not, then I need to insert the record. However, because this is treated as an error situation (which is stupid in itself), I get a problem when the number of records not found reach the MaximumErrorCount, and the rest of the package fails. Is there any other method of doing this type of thing, without simply increasing the MaximumErrorCounty to some ludicrous value. I could do this type of thing very very very easily when using DTS packages using the Data Driven Task, it seems so stupid that I can't perform the same kind of task using SSIS.

Any help would be appreciated

Thanks

Darrell

Darrell,

You need to configure the error output of the lookup component to redirect the rows that fail the lookup. you can then route the error flow to insert the records.

Frank

|||

Frank

I have already configured the error output of the lookup task to redirect the error rows, however, the task stops after processing the errors of the lookup task because the number of errors exceeds the MaximumErrorCounty, even though I don't want it to stop processing. For the error output I am redirecting the rows to a Derived field task, so that I can add additional fields ready for the SQL task of inserting the information. However, it doesn't even get to execute the derived task because of this problem with the MaximumErrorCount

Any other ideas?

Thanks

Darrell

|||

DarrellMerryweather wrote:

Frank

I have already configured the error output of the lookup task to redirect the error rows, however, the task stops after processing the errors of the lookup task because the number of errors exceeds the MaximumErrorCounty, even though I don't want it to stop processing. For the error output I am redirecting the rows to a Derived field task, so that I can add additional fields ready for the SQL task of inserting the information. However, it doesn't even get to execute the derived task because of this problem with the MaximumErrorCount

Any other ideas?

Thanks

Darrell

Darrell,

I've used this technique on many occasions and trust me - its not affected by MaximumErrorCount. I've diverted millions of rows down the error output of a LOOKUP component when MaximumErrorCount=1 and the data-flow succeeds.

Are you sure there isn't another error occurring somewhere?

-Jamie

P.S. For nomenclature clarity, the toolbox items that appear inside a data-flow ar called components, not tasks!

|||

DarrellMerryweather wrote:

Hi

I am trying to use this painful new SSIS process. I basically need to use a lookup task to check to see whether a record exists or not. If not, then I need to insert the record. However, because this is treated as an error situation (which is stupid in itself),

Why is that stupid? The objective here is to achieve a business requirement - does the specifics of how it is achieved really matter?

DarrellMerryweather wrote:

I get a problem when the number of records not found reach the MaximumErrorCount, and the rest of the package fails. Is there any other method of doing this type of thing, without simply increasing the MaximumErrorCounty to some ludicrous value. I could do this type of thing very very very easily when using DTS packages using the Data Driven Task, it seems so stupid that I can't perform the same kind of task using SSIS.

I promise you this CAN be achieved. Persevere - you'll find the problem eventually

Perhaps check the ForceExecutionResult property.

-Jamie

|||

Guys

I was actually getting an error on the input of the derived field, where it was truncating the value coming in.

Apologies and thanks for the help, the package is now running sucessfully

Thanks again

D

Friday, February 24, 2012

Handling errors in DTS packages

HI!!

I've been working for an year or so with DTS, but it still makes me mad with it's cryptic error messages!!!!

"The task reported failure on execution" is one of the "funny" error messages I retrieve. I've tried with the log option, but error messages stored there are as cryptic as the one shown on the screen!!!!!

Timothy Peterson in "MS SQL Server 2000 DTS" provides code chunks that can be used to "decode" numerical error messages into something readable and understandable, but I really don't realize where should I put that code :( It seems to work only if you are executing packages via Visual Basic, and not using the MMC

That's it, I really do need help with this!!!!!!! I beleive that there's someone out there that had faced and solved this problem !

Thanks in advance
lorenaWhy do you have to use DTS?|||I'm working on an ETL process for a Data Warehouse
Oracle "holds" the source databases and the DW is implemented on SQL Server 2000.


Originally posted by Brett Kaiser
Why do you have to use DTS?

handling double quotes

Hi
i am importing data from table to flat file(csv). i have two problems
1. if a column has commas(,) it should not create a new column i.e the column in csv file can have commas
2.if a column has double quotes then csv file column should have double quotes. please help me.I am using derived column I dont know how to search double quotes in string.

if my table has 2 columns

col1 col2

a abc,"scfddf"ghisk

b bc,de

c de

my csv file should look like this

a abc,"scfddf" ghisk

b bc,de

c de

thanks

I don't understand... You define two columns in the file connection manager and just hook up the data flow columns to it.

In the examples you've given above, I don't see a need for the derived column transformation.

What are you seeing in your results?|||I agree, if you hook up an OLEDB Source to Flat file in your data flow task, this should already get handled automatically.

handling double quotes

Hi
i am importing data from table to flat file(csv). i have two problems
1. if a column has commas(,) it should not create a new column i.e the column in csv file can have commas
2.if a column has double quotes then csv file column should have double quotes. please help me.I am using derived column I dont know how to search double quotes in string.

if my table has 2 columns

col1 col2

a abc,"scfddf"ghisk

b bc,de

c de

my csv file should look like this

a abc,"scfddf" ghisk

b bc,de

c de

thanks

I don't understand... You define two columns in the file connection manager and just hook up the data flow columns to it.

In the examples you've given above, I don't see a need for the derived column transformation.

What are you seeing in your results?|||I agree, if you hook up an OLEDB Source to Flat file in your data flow task, this should already get handled automatically.