Viewing 14 posts - 1 through 14 (of 14 total)
Thanks Lyon. But then how would I have the structure of the underlying object that is getting changed available in the DDL trigger ?
April 8, 2019 at 7:32 pm
Yes Steve any entities created under the dbo schema should auto replicate across all the schemas that exist in the database.We have a database with multiple schemas and the reason...
April 8, 2019 at 5:35 pm
Unfortunately synonyms won't work in my case..
April 8, 2019 at 5:09 pm
Suppose I have schema1 and schema2 in my database. So when I create a table say T under dbo schema,schema1.T and schema2.T should get created. It does not have to...
April 8, 2019 at 3:17 am
You can't given the data provided. SQL tables represent sets, which are unordered. Your output...
February 14, 2019 at 10:40 pm
February 14, 2019 at 11:57 am
sgmunson (12/2/2016)
December 2, 2016 at 8:55 am
Wow...Fantastic..This is exactly what I need...
I would show this solution to the management so they understand how tough the solution is and I am sure it would take...
December 2, 2016 at 8:18 am
John Mitchell-245523 (12/2/2016)
December 2, 2016 at 7:46 am
J Livingston SQL (12/2/2016)
WITH C1
AS (SELECT id,
p2pid,
...
December 2, 2016 at 6:50 am
Yes we do have an identity column in the table.What I meant about data not being in order was that the data does not have a specific order for p2pid...
December 2, 2016 at 4:52 am
This data format comes through a 3rd party application as is and gets dumped into the table without any specific order.
Yes if the values 124 and 125 don't match it...
December 2, 2016 at 4:15 am
Unfortunately there is no predefined order.The design is not in our hand.Best way I could think of ordering was something like this.
drop table #t
create table #t(id intidentity,p2pid int,p2psource int)
insert into...
December 2, 2016 at 3:03 am
John Mitchell-245523 (12/2/2016)
Ah yes, this is a classic gaps and islands problem. Have a read through this, and see if it helps.John
Thanks but I doubt the gaps/island solution will...
December 2, 2016 at 2:27 am
Viewing 14 posts - 1 through 14 (of 14 total)