c# - creating a custom constraint in sql -
I am using sql on a C # application and my table consists of stock quotes which I am concerned with They are called symbols and dates, what I am trying to do, prevents one line from adding to the table if both symbols and dates are already present in a separate line.
For example if I already have a line for GOOG and today's date, then if I try to add a line with that mailing information, it will either be rejected Or update the existing line with new information is the easiest way to do this?
After a look on the statement. <'& lt; Market & gt; ',' & lt; Open & gt; ', dbo.StockDailyData used as the merger target> Already exists, what to do for it - In your case, you will update the information about the new bid. / P> (VALUES (' 'your id value' ','
Comments
Post a Comment