Forum Replies Created

Viewing 15 posts - 1 through 15 (of 60 total)

  • RE: DataType Conversion

    CONVERT_IMPLICIT is a custom stored function ?

    You probably need to expose the columns specified in the function to eliminate this message.

  • RE: GLOBAL TEMP TABLE OPTION ?

    Quick answer:

    Desperately trying to avoid "catalog clutter" with stupid tables that show no real business purpose.

    In this case, these are tiny tables that have meaning only during processing.

    More importantly, why...

  • RE: GLOBAL TEMP TABLE OPTION ?

    CREATE TABLE ##TEMPTARGQA

    CREATE SYNONYM [GlobalTemp] FOR tempdb.dbo.##TEMPTARGQA

    then your process uses [GlobalTemp] instead.

    Brilliant, brilliant, brilliant.

    In that way, I only have a small amount of dynamic SQL to build...

  • RE: GLOBAL TEMP TABLE OPTION ?

    Thanks Lowell, and we are considering creating the cataloged tables.

    The Tempdb option won't work since all of the databases would share the same table....

    and that table would need to have...

  • RE: TABLE CONSTRAINT Issue

    Gail - I ended-up using a constraint instead of a unique index.

    CREATE TABLE [dbo].[CONTROL_FACT](

    [ID] [int] IDENTITY(1,1) NOT NULL,

    [CTRL_ID] [int] NULL, -- 1

    [CTRL_KEY] [varchar](50) NULL, -- 'TARGET_LAST_UPDATE'

    [CTRL_VALUE] [varchar](1000) NULL, -- '2015-11-03',...

  • RE: TABLE CONSTRAINT Issue

    Thanks Gail -

    I think that computed column with unique index is the best approach.

    From what I've gathered, filtered indexes can only be created with filters on a single column.

  • RE: TABLE CONSTRAINT Issue

    Now I have a new problem.

    I want my table to have two "keys", one integer, one string so that a value can be accessed by either.

    I have solved the problem...

  • RE: Invalid Object name error

    Guys - I figured it out !!!

    We had 3 separate databases ON THE SAME SQL SERVER INSTANCE !!!

    Each database was trying to delete and then re-create that global temp...

  • RE: Invalid Object name error

    Lowell - thanks much for that.

    I think what is happening is that Pentaho is losing the connection to our SQL Server instance....

  • RE: Invalid Object name error

    Thanks for that Sean....that's been my inclinaton as well.

    PDI in release 5.3 has been so "glitchy"....just tons of small issues.

    The strange thing about this is that "prepareExecution" method in...

  • RE: TABLE CONSTRAINT Issue

    Thanks, wasn't sure if the following syntax was supported or not....

    CONSTRAINT C_KEYS CHECK (CTRL_ID IS NOT NULL OR CTRL_KEY IS NOT NULL),

  • RE: SSMS Help system buggy ?

    Yes I did Jeff and it is showing up when I go:

    Help,Manage Help Settings, Choose online or local help

    And when I click on "Check for Updates", It says "Books Online...

  • RE: SQL Server Agent and powershell scripting - tough requirement

    Wow, thanks for that Lowell....nicely done !

    Now I need to look into:

    1) establishing and configuring my mail profile

    2) scheduling the report via SQL Server Agent.

  • RE: SQL Server Agent and powershell scripting - tough requirement

    TO: user1;user2;user3

    FROM: admin@xyz.com

    SUBJECT: Hourly Report For 9 am : CORE 13 (+2) UPSELL 5 (-1)

    BODY: embedded reports in HTML format - cell phone friendly

    Note: There is nothing stupid...

  • RE: SSDT

    We ended up purchasing Red Gate's SQL Compare utlility.

    Very fine product indeed !!!

Viewing 15 posts - 1 through 15 (of 60 total)