Viewing 12 posts - 1 through 12 (of 12 total)
Using a function in CHECK constraint solves my problem. Thank you so much for the help and support.
No i cannot add UNIQUE CONSTRAINT on col3 of table2 becox i dont...
October 31, 2013 at 11:52 am
Thanks alot for your help.
October 28, 2013 at 8:51 am
ok .. but how can i stop the insertion in instead of trigger if condition is not matched.
can u plz explain ???
October 28, 2013 at 6:39 am
Yes you understood well my question.
I am already using a stored procedure to for insertions in my table, but the procedure is dynamically generated from the application(Desktop Application) ,...
October 26, 2013 at 4:18 am
Ohh thank you so much ,
It was just a little and silly mistake i was doing .
INSERT ..SELECT works fine in this case .
October 17, 2013 at 6:45 am
I am doing it row by row because i think its the only way to do this .
The query i have mentioned, if run directly in TSQL ..it returns 3...
October 17, 2013 at 6:21 am
I am doing it row by row because i think its the only way to do this .
The query i have mentioned, if run directly in TSQL ..it returns 3...
October 17, 2013 at 6:05 am
I m doing it row by row, because i think its the only way to do it
I want to insert each row in my table which is returned by...
October 17, 2013 at 5:54 am
Following procedure stores the value of each column in a parameter and then inserts in the table.
CREATE PROCEDURE DBO.FKEYS_FOR_KEYTBL
@FKNAME VARCHAR(100) = NULL,
@SCHNAME VARCHAR(5) = NULL,
@FKFLDNAME VARCHAR(20) =...
October 17, 2013 at 5:48 am
Nothing is contradicting Bhuvnesh.
I just want to store the results in a table and for that i thought stored procedure would work best .
I want the proc to read each...
October 17, 2013 at 5:35 am
Using parameters works fine in this case .
i have written a stored proc which stores the results of this query in parameters, and then inserts these values in a...
October 17, 2013 at 5:03 am
No i dont want to pass table ..
Below is the query :
SELECT obj.name AS FK_NAME,
sch.name AS [schema_name],
tab1.name AS
,
...
October 17, 2013 at 4:57 am
Viewing 12 posts - 1 through 12 (of 12 total)