Viewing 15 posts - 661 through 675 (of 6,036 total)
Negative return value means error happened during the execution.
Unless you explicitly change the meaning of @ReturnValue in the proc code.
Like IF @status = 'Feeling Kinda Silly'
_____________
Code for TallyGenerator
March 6, 2018 at 6:52 pm
That's why it actually does matter. If you have a 100% Fill Factor...
_____________
Code for TallyGenerator
March 6, 2018 at 6:47 pm
It does not matter at all.
FIll Factor is only taken into consideration when an index is rebuilt (reindexed).
If you only drop and re-generate the index, as you mentioned...
_____________
Code for TallyGenerator
March 6, 2018 at 5:39 pm
_____________
Code for TallyGenerator
March 6, 2018 at 6:57 am
Both statements have this in their lock description:
transactionname="implicit_transaction"
It kinda indicates that there is no explicit transaction opened in the code.
The trick is - the both locks are IX.
Which means there...
_____________
Code for TallyGenerator
March 3, 2018 at 3:08 pm
Can you script this table "for create" and post it here?
_____________
Code for TallyGenerator
March 2, 2018 at 12:36 pm
March 2, 2018 at 12:22 pm
Post the code of the file upload procedure, point out the statement which is executed when the locking happens, and the statements from the app which are blocked.
Don't forget DDL...
_____________
Code for TallyGenerator
March 1, 2018 at 10:16 pm
We have had two incredibly major renovations to the highway around KC for...
_____________
Code for TallyGenerator
February 28, 2018 at 5:30 am
Fastest way would be to track the changes at the source (say, by recording pk values for inserted/deleted/updated records in "change" tables) and then copy only changed records over. _____________
Code for TallyGenerator
February 27, 2018 at 7:19 pm
Assuming '00' row is mandatory for every group, this should work:
if OBJECT_ID('tempdb..#FileRowGroups') is not null DROP TABLE #FileRowGroups
select IDENTITY(int, 1,1) GroupID, F.RowNo GroupStart,...
_____________
Code for TallyGenerator
February 27, 2018 at 3:15 pm
3 questions.
1. How many rows are returned by SELECT * FROM Tbl WHERE Col2 =@P1
2. Do both updates use the same value...
_____________
Code for TallyGenerator
February 27, 2018 at 2:49 pm
Have an identity column in your staging table - to keep track of original row numbers in the fileCREATE TABLE FileData (RowNo int IDENTITY(1,1) PRIMARY KEY NOT...
_____________
Code for TallyGenerator
February 27, 2018 at 6:19 am