Viewing 15 posts - 16 through 30 (of 454 total)
Thanks all for replies.
Jonathan, your solution works. The only downside is that it creates blockings. But this is what was expected.
February 25, 2021 at 5:13 pm
Thanks Mike!
This is exactly what I wanted.
December 18, 2020 at 5:11 pm
And yes, each new row should accumulate all the previous one plus the current one.
Thanks
December 18, 2020 at 3:25 pm
Here is DDL:
create table table1
(
col_to_order int identity(1,1),
column1 int,
column2 varchar(max)
)
go
insert into table1
(column1)
values
(123),
(71),
(1844),
(191)
go
December 18, 2020 at 3:23 pm
No, I don't have Visual Studio. And I am looking for SQL solution.
November 11, 2020 at 7:23 pm
Apparently it's XPATH. It looks like this:
SELECT ActivityLogXml.Activity.query('Comments').value('.', 'varchar(max)')
FROM @ActivityLogXml.nodes('/Activity') AS ActivityLogXml(Activity)
And the part ActivityLogXml.Activity.query is interpreted by sys.sql_expression_dependencies as db.schema.object
November 11, 2020 at 4:46 pm
I tried SQL Server Logs which is under Management folder, it does not have this info. Where I can find connection logs?
Thanks
November 3, 2020 at 5:55 pm
Thank you Grant, and all, for your advises.
What I also heard is that we need to collect a database workload from production and apply it on our testing environment to...
October 27, 2020 at 2:00 pm
They are views? But I specified o.type_desc = 'SQL_TABLE_VALUED_FUNCTION' in Where clause.
October 23, 2020 at 5:31 pm
This is not from production. This is from one lower env. to another lower env. (like dev, test, qa, like that)
October 22, 2020 at 12:25 pm
Thanks all for replies. Now I am convinced, will leave the 2nd index in place.
October 14, 2020 at 7:03 pm
The reason for these NOLOCK's is mostly performance, they don't want to be blocked.
October 6, 2020 at 4:16 pm
My goal is not a resultset.
What I have now is two queries which separately assign values to two single variables:
select @v1 = amt
from #t1
where type =...
October 24, 2019 at 3:40 pm
Viewing 15 posts - 16 through 30 (of 454 total)