Viewing 15 posts - 16,336 through 16,350 (of 18,923 total)
Why would the id wouldn't be unique???
anyways :
IF Object_id('ListTableColumns') > 0
DROP FUNCTION ListTableColumns
GO
CREATE FUNCTION dbo.ListTableColumns (@TableID as int)
RETURNS varchar(8000)
AS
BEGIN
Declare @Items as varchar(8000)
SET @Items = ''
SELECT
@Items = @Items + C.Name...
June 22, 2005 at 12:24 pm
Good news that I know how to use aggregates and how to create simple table
.
June 22, 2005 at 12:19 pm
You don't, you make it fire from the trigger :
Create a custom alert, set up a job to start when that alert is triggered.
Put the code in that job.
Raise...
June 22, 2005 at 12:12 pm
Here's a simple idea. For now make 2 version of the report (with/without header), then display/export as required. Then if you ever find a solution for the header,...
June 22, 2005 at 11:40 am
Why not just put that in a shared database that all apps can use, or simply in all needed databases... you wouldn't need that much permission to access it.
June 22, 2005 at 11:34 am
If there's nothing else updating that table I guess it's ok. But I wouldn't that operation there. I would raise an alert that would start a job that...
June 22, 2005 at 11:31 am
I know. ![]()
I thaught for a moment that you were talking about my query then I got the reference to the older post...
June 22, 2005 at 11:14 am
I think you're gonna have to use the trick with a perm table that holds that view... then hope you can optmize it enough to go subsecond with it (harder...
June 22, 2005 at 11:08 am
Just to explain... I thaught that removing all the concatenation part of the work might make this go somewhat faster but the cost of generating the unequal join+group by to...
June 22, 2005 at 10:42 am
nope >> UPDATE CASH_CHECK A is forbiden.. the alias must be set in the from clause.
June 22, 2005 at 10:38 am
It's like trying to tell whether it's better to be jewish or christian. Just go with what you believe is the best and experience will show you the rest...
June 22, 2005 at 10:37 am
Here's another one just for the fun of it :
Select SUBSTRING(@IDS, dtPositions.StartPos, dtPositions.Length) as IDS from
(
Select dtCommas.Commas + 1 as StartPos, MIN(dtCommas2.Commas) - (dtCommas.Commas + 1) as Length from...
June 22, 2005 at 10:33 am
Viewing 15 posts - 16,336 through 16,350 (of 18,923 total)