Viewing 9 posts - 1 through 9 (of 9 total)
Thanks for the reply, David. I do actually validate the XML stored in the database: the XML column has an associated schema. However, I have since modified the...
July 25, 2011 at 5:09 am
Thanks for the reply, GSquared. The database schema is as follows. tblMap has a FK to tblSurvey (SurveyID), as you said; however, its primary key is actually two...
June 20, 2011 at 1:20 pm
It seems that the devil was in the detail ... having read the above comments more closely, I have now managed to set my constraint with this syntax (for the...
June 20, 2011 at 11:46 am
Thanks for the quick replies! The constraint check refers to two other tables: is there a way of constructing a foreign key that refers to two tables rather than...
June 20, 2011 at 10:41 am
I can't remember, I'm afraid -- so clearly nothing useful!
October 15, 2010 at 11:15 pm
That's excellent! Now working perfectly -- thank you very much indeed.
January 21, 2010 at 10:30 am
Thanks very much for your reply; those articles you suggested were very informative. In the end, I couldn't find a way of doing it in T-SQL but managed to...
July 13, 2009 at 4:05 am
Nice one, SQL Server Guy: that worked for me, too.
April 17, 2009 at 9:17 am
Fantastic, Bob -- that's exactly what I needed. Thanks a million!
December 27, 2008 at 6:00 pm
Viewing 9 posts - 1 through 9 (of 9 total)