Forum Replies Created

Viewing 14 posts - 1 through 14 (of 14 total)

  • RE: Left Outer join Question

    Try

    SELECT      empper.first_name,

                    empper.last_name,

                    empper.middle_name,

                    empper.birth_date,

                    empper.sex,

                    empper.pers_status,

                    empper.company,                        

                    empbplan.elig_code,

                    empbplan.bplan_code

    FROM    empper

                LEFT OUTER JOIN

                empbplan

                ON empper.emp_id = empbplan.emp_id

              ...

  • RE: transact sql

    I used #temp_output as my table to test my sql.  Hopefully this will help. 

    create table #temp_output

    (id integer,

     jan varchar(1),

     feb varchar(1),

     mar varchar(1),

     apr varchar(1),

     may varchar(1),

     jun varchar(1),

     jul varchar(1)

    )

     

    select id, SUM (CASE when Jan...

  • RE: Access Tables being DTS to SQL Server 7

    Jonathan,

        when I do the activex script, it looks like it is fine until a NULL value is encountered then I get errors about the paramters to the CSTR...

  • RE: Access Tables being DTS to SQL Server 7

    In the Access I meant the datatype of the columns are date/time

  • RE: Using Temp Tables in SPROC output

    Thanks for the input

  • RE: Using Temp Tables in SPROC output

    Better to give an example

    create procedure usp_rpt_list

    as

    BEGIN

    create table #output

    (id integer,

    id_desc varchar(10),

    active integer

    )

    insert into #output (id, id_desc)

    select id, id_desc from tableA

    ...Logic to set active column

     

    SELECT id, id_desc, active from...

  • RE: Multi-statement table-valued UDF problem

    I don't think you can use the getdate function like that it needs to be in a SELECT or WHERE clause. You can call your funtion like this

    DECLARE @curr_date...

  • RE: SQL Server & Sybase SQL Anywhere

    We have both install on the same machine(Test Area) with no problems? One note is if you decide to uninstall SQL Anywhere it does utilize some ODBC dll's...

  • RE: Backing out Upgrade to Service Pack 3a

    Thanks, That is what I did and I'm back up and running

  • RE: Auditing Your SQL Server - Part 1

    We do auditing on our Remote Users in a replicated environment. So the triggers only fire when the replication process is doing the inserts/updates. This is done in...

  • RE: Trigger Execution

    Thanks for the reply

  • RE: Push Subscription

    It is using an account that was working before deployment. I have just notice when the deployment team installed the computer at our remote site, the computer isn't part...

  • RE: Distribution DB

    We try that and it still didn't help. We finally had to update the sysdatabases table to say it wasn't involved with replication and then we were finally able...

  • RE: Server Name Change

    Thank you that worked.

Viewing 14 posts - 1 through 14 (of 14 total)