Viewing 15 posts - 10,336 through 10,350 (of 13,874 total)
You just have to remove the FK relationship which is preventing the deletion first:
update fk_test
set fno = null where fno = 5
delete fk_test where eno = 5
select * from fk_test
November 29, 2012 at 3:16 am
I wrote the above response before trying Craig's solution, which certainly does the business - thanks! Maybe this is one instance where a loop is the best solution. I'll leave...
November 29, 2012 at 2:02 am
First of all, thanks to everyone who has taken the time to think about this problem and contribute. I spent over an hour blowing recursion limits left, right and centre...
November 29, 2012 at 1:56 am
rhythm.varshney (11/27/2012)
Phil Parkin (11/27/2012)
If you want to put an SSIS 'wrapper' round it, something...
November 27, 2012 at 10:51 am
There is no good way of doing this in SSIS - I'm with Jeff on this one.
If you want to put an SSIS 'wrapper' round it, something like this would...
November 27, 2012 at 7:23 am
rhythm.varshney (11/26/2012)
waiting for your valuable input guys........
You still have not asked a single question - there is nothing to respond to.
November 26, 2012 at 11:47 am
Have you tried {CR}{LF}?
November 26, 2012 at 10:20 am
In your Flat File connection manager, what is the value of the Row Delimiter property?
November 26, 2012 at 10:04 am
rhythm.varshney (11/25/2012)
Phil Parkin (11/25/2012)
rhythm.varshney (11/25/2012)
Phil Parkin (11/25/2012)
So what is your question?
I need to import the data into the table.The logic is If Type is MSAD then it should update MSAD...
November 25, 2012 at 5:23 am
rhythm.varshney (11/25/2012)
Phil Parkin (11/25/2012)
So what is your question?
I need to import the data into the table.The logic is If Type is MSAD then it should update MSAD column of table...
November 25, 2012 at 5:15 am
grantbanjo (11/23/2012)
I am using SSIS in SQL Server 2008 R2 and have been creating packages for a few years, but have not done so where the packages will be going...
November 25, 2012 at 5:06 am
Could it be that the server's default date format is dd/mm/yyyy and your PC it is mm/dd/yyyy (or vice versa)?
November 25, 2012 at 4:51 am
What is the data type of User::SCH_DFEE?
November 21, 2012 at 8:34 am
Viewing 15 posts - 10,336 through 10,350 (of 13,874 total)