Viewing 15 posts - 301 through 315 (of 600 total)
That worked as far as accepting the altered proc...but when I go to run I get an error-
Msg 102, Level 15, State 1, Line 47
Incorrect syntax near ')'.
this is what...
July 14, 2011 at 11:24 am
We are having trouble with the syntax -
When I change it to what you suggested I get an error:
Msg 102, Level 15, State 1, Procedure spPaymentViewGetPagedByUserId, Line 79
Incorrect syntax near...
July 14, 2011 at 10:32 am
sure..
exec spPaymentViewGetPagedByUserId @PageIndex=0, @PageSize=25, @PaymentStatus='P, VR, AM'
USE [dbVBank]
GO
/****** Object: StoredProcedure [dbo].[spPaymentViewGetPagedByUserId] Script Date: 07/14/2011 10:55:23 ******/
SET ANSI_NULLS OFF
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[spPaymentViewGetPagedByUserId]
@PageIndex int,
@PageSize int,
@PaymentStatus varchar(100),
@UserId varchar(25)...
July 14, 2011 at 8:55 am
So I'm guessing that this is a dynamic parameter and not static value
yep I talked to the dev again and he said it was a dynamic parameter..so they have...
July 14, 2011 at 6:42 am
lutz - it is a table valued function
here's the function - -- ==========================================================================================
-- Author: Jeremy Truitt (as taken from Erland Sommarskog, SQL Server MVP. Located at:
-- http://www.sommarskog.se/arrays-in-sql-2000.html#iterative
--
-- Create...
July 13, 2011 at 3:22 pm
it does run faster (3 sec) if I take out the last join
I talked to the dev and he says he must use that function -
July 13, 2011 at 3:05 pm
check the cert on the server
July 13, 2011 at 12:18 pm
The cached plan used depends upon the user context
true.. I was assuming all variables where the same..
July 13, 2011 at 10:18 am
also if the proc runs fine in ssms ..then it's prob not parameter sniffing
July 13, 2011 at 9:52 am
However today we're seeing the same problem on almost every stored procedure call
Is this correct? You are seeing this on everyproc?
July 13, 2011 at 9:46 am
Are you sure you want to do that?
Most of the time it's better to let SQL handle memory allocations.
July 12, 2011 at 9:19 am
You can do most if not all of what you need without buying anything..
but if you want a kewl GUI type program then you can check out -
Quest Software
Idera
July 8, 2011 at 1:41 pm
please and thank you go a long ways..
July 1, 2011 at 2:00 pm
No , in the GUI I click on the group then 'status' then I click 'deny' under permission to connect to database engine.
It shows 'deny' for the group...but when I...
July 1, 2011 at 9:10 am
Viewing 15 posts - 301 through 315 (of 600 total)