Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does this make sense?
Message
 
 
To
31/01/2013 16:43:16
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2008
Application:
Desktop
Miscellaneous
Thread ID:
01564885
Message ID:
01564894
Views:
28
>>>Hello all
>>>
>>>I've got two tables (TestResult and IndvStats) and a generic userid.
>>>
>>>Userid has Insert, Update and Select rights on both tables.
>>>
>>>The only difference between the two tables is that TestResult has two fields that are defaulted to 0 on new record insertion.
>>>
>>>Userid can insert into IndvStats, but not into TestResult. Would these two field constraints cause this? I'm going to remove the constraints and see if that is indeed the issue, but if so - Why? And if it doesn't make a difference, has anyone seen behavior like this in SQL?
>>>
>>>Thanks
>>>
>>>Dorris
>>
>>Are you omitting these fields in your insert statement? I don't think that the problem is related with constraints.
>
>Yes, I am not including these in the initial creation of the record at the beginning of the test. They are updated at the end of the test.

Can you show some code just to see what we're talking about?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform