Viewing 15 posts - 16 through 30 (of 33 total)
We have been investigating setting up an active/active cluster. We have identified that cross database chaining is not intended to work across two separate servers. This may be an issue,...
June 17, 2003 at 3:55 am
I do have linked servers and I believe that the account delegation commands have been performed, but I will now check this further. I know that the setspn -L command...
May 22, 2003 at 3:14 am
Thanks for these.
The ASPNET login is configured to have EXEC permissions. Our policy is to prevent direct access to SQL statements, except through SP's.
This all works correctly if the...
May 21, 2003 at 9:21 am
SP called from ASP appl using ASPNET and system configured to use localhost/ASPNET user through all connections.
Password is the same on Web and both SQL servers in the cluste.
There is...
May 21, 2003 at 8:41 am
SP called from ASP appl using ASPNET and system configured to use localhost/ASPNET user through all connections.
Password is the same on Web and both SQL servers in the cluste.
There is...
May 21, 2003 at 8:41 am
Procedure is as follows
=====================================
CREATE PROCEDURE [dbo].[usp_SBIR_GetUnReconciledInvoiceCustomerName]
@RequestingUser NVARCHAR(50), @ApplicationID INT
AS
BEGIN
SET NOCOUNT ON
/*
' usp_SBIR_GetUnReconciledInvoiceCustomerName
'----------------------------------------------------------------
' Description:
' Returns All Customer Names who have Unreconciled invoices
'
' In:
' @RequestingUser NVARCHAR(50), @ApplicationID INT
'----------------------------------------------------------------
*/
DECLARE @ErrorNb...
May 14, 2003 at 11:52 am
There are no odd characters.
I have tried manipulating the package and by splitting the update and inserts into 2 sql tasks I have managed to get it to work without...
February 17, 2003 at 2:30 am
The procedure performs the following
CREATE PROCEDURE usp_translatetext
@tablename sysname,
@keyname sysname,
@languageID int,
@entityID int,
@Description nvarchar(50) OUTPUT,
@PopupText nvarchar(300) OUTPUT
AS
BEGIN
SET NOCOUNT ON
DECLARE @sqlstr nvarchar(2000)
SET @sqlstr = 'if exists (SELECT [Description], PopupText FROM EDB.dbo.' + @tablename...
December 18, 2002 at 9:01 am
Unfortunately I cannot convert this to a UDF because the SELECT statement is parameterised and is run using the SP_EXECUTESQL command.
This cannot be run from within a function.
I cannot return...
December 17, 2002 at 4:42 am
The logic is in an sp because it is performing a parameterised lookup where the tablename, keyfield name,keyfield value are passed in and the text values are passed out. The...
December 13, 2002 at 9:00 am
Thanks Antares for all your help
There's an extra space beteween @tablename and Translation on one of the selects - i've resolved that and it's now working ok.
December 11, 2002 at 9:02 am
Thanks for that -
it's now complaining about an invalid column
Server: Msg 207, Level 16, State 3, Line 1
Invalid column name 'LanguageID'.
This column is correctly defined in tblIANMAinTranslation table
December 11, 2002 at 8:52 am
I've just run the amended statement, but this still returns the same errors
December 11, 2002 at 8:16 am
When I run this as a procedure
declare @out1 varchar(50)
declare @out2 varchar(300)
exec usp_GetDesAndPopup tblIANMain,64,1,@out1,@out2
it gives errors
Server: Msg 170, Level 15, State 1, Line 1
Line 1: Incorrect syntax near '='.
Server: Msg...
December 11, 2002 at 6:57 am
And here are the statements :-
DECLARE @tablename char(30)
DECLARE @languageIDint
DECLARE @entityID int
SET @tablename='tblIANMain'
SET @languageID=64
SET @entityID=1
DECLARE @selectstring nvarchar(500)
SET @selectstring='SELECT [Description],PopupText FROM EDB.dbo.' +
rtrim(ltrim(@tablename)) + 'Translation WHERE EntityID = ' + cast(@entityID...
December 11, 2002 at 6:19 am
Viewing 15 posts - 16 through 30 (of 33 total)