Viewing 15 posts - 16 through 30 (of 154 total)
in SQL Server, which operations will use more CPU resource? it seems that compilation and recompilation will lead to high CPU workload. are there any other operation will...
September 1, 2021 at 4:26 am
You can't really track user behavior through the logs. Without specialized tools, you can't view the information in the logs. That's really not what the logs are for. It's...
August 30, 2021 at 3:35 pm
FWIW, here's the worked solution, so folks at home can play along...
use tempdb;
go
/* setup script */CREATE TABLE LineItem(
LineNum int not null,
ItemNo char not null,
Qty tinyint not...
August 30, 2021 at 6:08 am
892717952 wrote:Sorry! next time if have the same question I'll provide sample data, thanks!
So, you're happy with the answers you got on this thread?
Yes, I have learnt...
August 27, 2021 at 3:11 pm
there are LineNo, itemNo and qty fields in one table, I want to the accumulative qty (totalQty) for each item and want to the totalqty shown as below...
August 19, 2021 at 3:35 pm
If you are hoping for a coded solution, please take the time to provide your sample data in a form which we can paste into SSMS and execute.
OK, next...
August 19, 2021 at 3:33 pm
Try googling "tsql running total" and you will see a number of tutorials about how to do that.
big thanks !
August 19, 2021 at 3:32 pm
I don't understand what you're asking. You can make batch calls from code, almost exactly the same as calling procedures. You just change the command type. SSMS is also...
August 5, 2021 at 12:32 am
Here's a code sample showing how C# calls a stored procedure. Compare that to 'EXEC dbo.MyProc' in SSMS. One is a remote procedure call. The other is a...
August 4, 2021 at 12:54 am
August 3, 2021 at 3:28 pm
Jeffrey Williams wrote:What event are you capturing in your profiler trace?
the events I captured as below
Stored Procedures RPC:Completed SP:StmtCompleted TSQL SQL:BatchCompleted
So which row in the trace are you...
August 2, 2021 at 2:57 pm
What event are you capturing in your profiler trace?
the events I captured as below
Stored Procedures
RPC:Completed
SP:StmtCompleted
TSQL
SQL:BatchCompleted
July 30, 2021 at 12:36 am
I used SQL Profiler to trace SQL scripts and got one sql statement with 53142 reads (as picture), but I executed that sql statement but found its...
July 29, 2021 at 4:18 pm
the “Reads” of SQL Server profiler is the times of the logical read?
July 29, 2021 at 3:54 pm
I used SQL Profiler to trace SQL scripts and got one sql statement with 53142 reads (as picture), but I executed that sql statement but found its logical...
July 29, 2021 at 3:42 pm
Viewing 15 posts - 16 through 30 (of 154 total)