Viewing 15 posts - 271 through 285 (of 1,344 total)
Your not constructing your dynamic sql correctly.
if you want to pass parameters into dynamic sql, then you MUST use sp_executesql. the EXEC function does not except parameters.
If you do...
December 13, 2007 at 10:03 am
Your desire to find companies within a certain distance of a given point is fairly simple on the surface,
Your function is not correct tho. (I did not check your...
December 13, 2007 at 9:47 am
Would this work?
SELECT SUBSTRING(PK, Charindex('=',PK)+1 , (len(PK)-1)) FROM audit
or you could wrap a replace..
SELECT replace(SUBSTRING(PK, Charindex('=',PK)+1 , len(PK)),'>','') FROM audit
December 12, 2007 at 5:00 pm
What do you mean based off Previous AchieveLevel?
Your talking about comparing values from two different rows?
Please post sample data and desired output so we can see what your looking for..
Thx
😎
December 10, 2007 at 9:16 am
There is no need/ way to integrate stored procedures with a trigger.
For triggers you gain access to 2 virtual tables called "Inserted" and "Deleted"
Inserted holds the data that is being...
December 7, 2007 at 9:09 am
Richard Sabbara (10/6/2006)
December 6, 2007 at 8:41 am
I am assuming your talking about reporting services.
If not, please post and let us know.
Give this article a read
http://www.sqlservercentral.com/articles/Development/reportingservicesconditionalformatting/1423/
Or this
December 6, 2007 at 8:37 am
:D, Just playin about the cursor,
I don't think the error your getting has to do with the open query query, its coming from somewhere in the string.
Either your string...
December 5, 2007 at 4:38 pm
select A.*
from BaseOutlet A
join (select CaseId, OUTL_ID, MKT_ID, max(cast(TAC_ID as tinyint)) as TAC_ID
from BaseOutlet
group by CaseId, OUTL_ID,...
December 5, 2007 at 4:03 pm
If you have reporting services running, it is a good solution to do this.
Thats what I Have done in this scenario
December 5, 2007 at 2:15 pm
What size are your @SqlString parameters declared as?
Try printing the @SQLString
Print @SQLString and in the messages tab, copy and paste that into a new window and see if you can...
December 5, 2007 at 12:59 pm
No,
a second query is in order
alter PROCEDURE TestProc
@SumTotal money OUTPUT,
@AvgTotal money OUTPUT
AS
SET NOCOUNT ON
SELECT @SumTotal = Sum(LineTotal), @AvgTotal = Avg(LineTotal)
FROM Sales.SalesOrderDetail
SELECT SalesOrderID, LineTotal
FROM Sales.SalesOrderDetail
November 30, 2007 at 10:46 am
What control are you using? the Table control?
on each cell on the table control you can select the Cangrow Property and set it to false.
That will maintain the layout...
November 30, 2007 at 10:07 am
Viewing 15 posts - 271 through 285 (of 1,344 total)