Viewing 15 posts - 361 through 375 (of 557 total)
GilaMonster (7/30/2015)
Updates are any modification. Insert,...
July 30, 2015 at 9:32 am
A similar question has been answered before see :
http://www.sqlservercentral.com/Forums/Topic508540-1291-1.aspx
July 16, 2015 at 1:38 am
Jack Corbett (7/14/2015)
July 14, 2015 at 12:46 pm
Lowell (3/19/2015)
obviously, this only works for compiled objects like procs/views/functions, but it's a start
Thanks, get some 'false positives' for calls to stored procedures in the master, but this is working...
March 19, 2015 at 9:56 am
MyDoggieJessie (3/17/2015)
How about something like this? Did a quick test and it looked like it might work...
Used the code:
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[A_test]') and OBJECTPROPERTY(id,...
March 19, 2015 at 4:06 am
MyDoggieJessie (3/17/2015)
Do you mean for procedures that are called within procedures i.e ("other" procedures get executed from within a calling procedure?)
Sorry that I was not clear.
I would like a list...
March 17, 2015 at 2:53 pm
Hello, thanks for your attention.
While messaging in this forum I came up with the following sollution:
-----------------------------------------------------------------------------
-- Solution method 1
-- Create a temptable of an actual table, where the identity column...
December 12, 2014 at 11:37 am
Sean Lange (12/12/2014)
December 12, 2014 at 10:24 am
ZZartin (12/12/2014)
How do you not know table structures at design time.....
I am building a generic tool. *)
The tool can be used on tables which are not in existence yet.
Ben
*)
More specific...
December 12, 2014 at 10:01 am
Luis Cazares (12/2/2014)
.... over complicated.....
Yes I think it is over complicated, hense the question.
But I did not find a less cumbersome solution.
The specific usage was to add a stored procedure...
December 2, 2014 at 2:57 pm
spaghettidba (10/27/2014)
This should do the trick:
Yes this is what I was after.
Thanks very much for pointing me in the right direction.
I just implemented this within my code and it does...
October 28, 2014 at 9:27 am
First of all thanks for the example. (Kudos).
I adjusted the example see below. (The identity does not get updated)
When an update is done, all fields are updated exept the identity...
October 27, 2014 at 10:16 am
First of all thanks,
Now I see I did muck up a bit, the temp table ##WW should have been ordered, see the code below. Probably lost that part of the...
October 23, 2014 at 9:12 am
Thanks for both answers.
I'll probably will go for Luis solution.
This will solve my problem of generating views for more than one database using a single stored procedure.
Thx
Ben
July 2, 2014 at 1:58 pm
Additional information.
The Showcontig information from both situations is very simular.
dbcc showcontig('B')
/*
-- FROM AN ERROR SITUATION :
DBCC SHOWCONTIG scanning 'B' table...
Table: 'BIL_Performed_Activities' (1157579162); index ID: 1, database ID: 11
TABLE level scan...
June 20, 2014 at 9:15 am
Viewing 15 posts - 361 through 375 (of 557 total)