Viewing 15 posts - 226 through 240 (of 263 total)
LutzM (1/3/2011)
STOP!! ... I'd rather go with a persisted computed column parallel to the original column
oh look you got there first.... 🙂
January 4, 2011 at 7:56 am
Consider adding a computed column, it could be safer than updating a column that might have dependencies.
what I would do (and I expect to be shot down in flames by...
January 4, 2011 at 7:53 am
Thanks for reply.
this what you're after?
USE [KPI]
GO
/****** Object: Table [dbo].[tblImportDaily_ageukddf_hhi] Script Date: 01/04/2011 14:03:51 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[tblImportDaily_ageukddf_hhi](
[iFileSeqNo] [int] NOT NULL,
[sFileDate]...
January 4, 2011 at 7:06 am
AH HA!
I have fixedized it!
I have rebuilt everything from scratch and now it works 🙂
Thanks for your helps!
December 22, 2010 at 7:54 am
aha! TVM!
I have discovered that I was using getdate....
unfortunately it is still reporting as non deterministic...
here is my function...
ALTER FUNCTION [dbo].[funMonthYear]
(
@date SMALLDATETIME
)
RETURNS char(8) WITH SCHEMABINDING
AS
BEGIN
DECLARE @dateToUse AS SMALLDATETIME
SELECT...
December 22, 2010 at 7:40 am
Cool thanks.
The function does have schema binding but according to the supplied query is still not deterministic. is this because the scalar function calls a second scalar function? interestingly the...
December 22, 2010 at 6:23 am
ColdCoffee (11/22/2010)
November 24, 2010 at 2:36 am
cool thanks lowell
we discussed it as a team and we feel that the simplicity of senibly named, sensibly grouped variables is the best way to make this program straight...
November 22, 2010 at 8:54 am
Thanks lowell.
These aren't input parameters but rather individual variables created like DECLARE @fYetAnotherDamnedNumber AS FLOAT
I'm going crosseyed looking at so many variables!
November 22, 2010 at 8:08 am
to be precise I need 1730 variables of data type int to produce this report
November 22, 2010 at 7:41 am
very interesting... this sounds broken to me!
have your tried reinstalling ssms?
November 11, 2010 at 2:35 am
are they both standard edition or is one of them express?
November 10, 2010 at 1:41 am
thanks mate, unfortunately it is completely dynamic with different columns coming out each time.
I have opted to take a programatic approach and write a php script that dynamically creates the...
November 10, 2010 at 1:39 am
gosh....
whats going on here... ran in this morning and it takes 54 seconds on both ssms and php!
ugh never mind. looks like I'll have to prepopulate data sets over night...
November 9, 2010 at 4:04 am
ok ta.
I'll try calling the func through a SP and running that from php and see what happens.
November 8, 2010 at 7:42 am
Viewing 15 posts - 226 through 240 (of 263 total)