Viewing 15 posts - 2,881 through 2,895 (of 49,571 total)
Can you post the deadlock graph?
June 28, 2016 at 11:29 am
David92595 (6/28/2016)
Are their any other good ways to stop a sql injection?
Yes. Don't concatenate input into strings to be executed unless completely unavoidable (eg table names and column names), if...
June 28, 2016 at 11:28 am
There's probably some implicit conversion happening somewhere in the LINQ such that the value is getting cast to the LINQ equivalent of DATE before the insert.
June 28, 2016 at 7:34 am
You need Dynamic SQL, you can't parameterise a table name. Build up a string, execute it.
And yes, people are paranoid for good reason, which is why you will check that...
June 28, 2016 at 6:44 am
Can you use Profiler to show the exact INSERT sent to SQL Server?
June 28, 2016 at 6:41 am
IF @State = 'AZ'
UPDATE AZ_Fees
SET @ColumnName = @NewValue
WHERE ID = @ID
IF @State = 'CA'
UPDATE CA_Fees
SET @ColumnName = @NewValue
WHERE ID = @ID
...
Alternately, use dynamic SQL and check that the table name...
June 28, 2016 at 6:20 am
DATETIME is accurate to 3 milliseconds. It won't convert a time to midnight
Check the LINQ make sure there's no rounding/conversion happening. Also check there's no trigger on the table.
June 28, 2016 at 6:16 am
What's the exact error message?
June 28, 2016 at 4:45 am
Can't see the image, but don't use Task Manager. It lies.
Performance monitor, the process object should help. It'll probably take a lot or work.
Increasing memory will help, bump to 32,...
June 28, 2016 at 3:38 am
hadihalim90 (6/27/2016)
June 28, 2016 at 2:50 am
If you run these, what's the result for the database you have the problem with?
DBCC SQLPERF(LogSpace)
SELECT name, log_reuse_wait_desc from sys.databases
June 27, 2016 at 10:21 am
angelreynosog (6/27/2016)
June 27, 2016 at 9:46 am
What recovery model are you in?
How often do you back up the transaction log?
What's the maximum allowable data loss for this DB, in the case of a disaster?
Please take a...
June 27, 2016 at 8:08 am
Viewing 15 posts - 2,881 through 2,895 (of 49,571 total)