Forum Replies Created

Viewing 15 posts - 226 through 240 (of 263 total)

  • RE: update

    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.... 🙂

  • RE: update

    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...

  • RE: insert error with computed column index

    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]...

  • RE: Whats the idea with this deterministic stuff????

    AH HA!

    I have fixedized it!

    I have rebuilt everything from scratch and now it works 🙂

    Thanks for your helps!

  • RE: Whats the idea with this deterministic stuff????

    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...

  • RE: Whats the idea with this deterministic stuff????

    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...

  • RE: how many variables can I have?

    ColdCoffee (11/22/2010)


    I would go with a single table with 2 columns.. Column 1 being the variable name and column 2 being value column.. Then u could make use of some...

  • RE: how many variables can I have?

    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...

  • RE: how many variables can I have?

    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!

  • RE: how many variables can I have?

    to be precise I need 1730 variables of data type int to produce this report

  • RE: SSIS - SSMS 32bit standard edition

    very interesting... this sounds broken to me!

    have your tried reinstalling ssms?

  • RE: SSIS - SSMS 32bit standard edition

    are they both standard edition or is one of them express?

  • RE: UPDATE tblHead SET iHairsRemaining = (iHairsRemaining - 40) WHERE vProblem = 'Perplexing'

    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...

  • RE: why is this taking ages?

    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...

  • RE: why is this taking ages?

    ok ta.

    I'll try calling the func through a SP and running that from php and see what happens.

Viewing 15 posts - 226 through 240 (of 263 total)