Viewing 15 posts - 61 through 75 (of 153 total)
Hi, here is the stored procedure...
/* **********************************************************
To check dependency as per object, use following values as
input of the procedure.
For,
Stored Procedure : 'P'
Views :'V'
Primary Key :'PK'
Function :'FN'
********************************************************** ...
June 2, 2009 at 11:26 pm
Did you get your solution?
Please update us with your result.
June 2, 2009 at 10:58 pm
Are you able to send mail from any programing language application (eg, from ASP, or C#) with your setting which you used here?
June 2, 2009 at 6:58 am
@rajendran.e
I think, you have posted this another time.
see your (i hope so) earlier posting here with, it has very good answers (though, this post also collects nice info :rolleyes:)
June 2, 2009 at 6:25 am
Hi, this will return only SPs.
DECLARE @PROCEDURE VARCHAR(40)
DECLARE @TABLES VARCHAR(MAX)
DECLARE @Iterate INT
SELECT @Iterate = 1
DROP TABLE #GROUPS
SELECT
DENSE_RANK() OVER (ORDER BY S.ID) 'GROUPID',
OBJECT_NAME(S.ID) 'SP',
OBJECT_NAME(S.DEPID) 'TableS'INTO #GROUPS
FROM SYS.SYSDEPENDS S(NOLOCK) JOIN SYS.SYSOBJECTS SS...
June 2, 2009 at 3:14 am
Are you getting any error message?
If you can give some example data for insert and update, then it will be very helpful to understand the problem.
June 1, 2009 at 10:50 pm
Hope this works,
CREATE procedure [dbo].[sprInsertServiceTypeToTicket]
@ticketID int
,@dateAdded datetime
,@agentCreated nvarchar(50)
,@flagRemoved bit
,@agentRemoved nvarchar(50)
,@dateRemoved datetime
,@serviceID int
,@IndexTicketServiceID int output
,@resultCode int OUTPUT
,@resultMessage varchar(1000) output
as
BEGIN
BEGIN TRY
IF EXISTS(select null from [dbo].[tbl_index_ticket_services] WHERE [TicketID] = @ticketID and [ServiceID] =@serviceID...
June 1, 2009 at 2:18 am
According to example given by Christopher Stobbs, can you do something like this?
CREATE TABLE Client
(ClientId INT IDENTITY(1,1),
LastName VARCHAR(100),
FirstName VARCHAR(100),
MiddleName VARCHAR(100))
CREATE TABLE ClientAccount
(AccountId INT IDENTITY(1,1),
ClientId INT,
AccountNumber VARCHAR(100))
--TEST DATA
INSERT...
May 30, 2009 at 2:44 am
select name, surname, (select count(*) from Info where name=a.name) as countname
from Info a
May 19, 2009 at 2:00 am
What exactly you want to do? Cant you use cursor?
May 8, 2009 at 12:37 am
Dear members,
My sincere apology for posting the link. I found the link from one of the mail regarding study material, but couldnt check it due to firewall protection in our...
May 5, 2009 at 11:21 pm
With above, also check that if your service is dependent on any other service; and if yes, then check run mode for that parent service.
May 4, 2009 at 11:03 pm
Please check it here..
Editor's Note: website removed.
May 4, 2009 at 10:47 pm
There are many kind of notifications on Microsoft site itself, what you have to do is to search them only.
Also, search for individual on MSN or google, you may get...
May 3, 2009 at 10:52 pm
Viewing 15 posts - 61 through 75 (of 153 total)