Forum Replies Created

Viewing 15 posts - 16,936 through 16,950 (of 18,923 total)

  • RE: Update Field Question

    Here's an option :

    UPDATE tblMemberContact

    SET tblMemberContact.Board = 1

    WHERE tblMemberContact.ContactId in (

    SELECT dbo.tblContact.ContactID

    FROM dbo.tblMemberContact INNER JOIN

    dbo.tblContact ON

    ...

  • RE: COUNT in WHERE statment

    HTH.

  • RE: Insert based on date

    Datefield is the value that you base your calculations on. I was under the impression that this also was a column in the table.

    Here's #2000

  • RE: Char Datatype Match

    Nice touch... didn't know that function .

    In the lights of this new knowledge, I would definitly go with that option... Still assuming...

  • RE: COUNT in WHERE statment

    I was rereading your post and didn't see any difference... Was wondering if I were going blind all of a sudden.

    Anyways, I think I would use Count(*) if case permits......

  • RE: COUNT in WHERE statment

    select count(doc_iccmc) cnt,doc_iccmc from v_DOCUMENTDIRECTORY

    group by doc_iccmc

    Having count(doc_iccmc) > 2

  • RE: Table Variable

    Try this in text result mode :

    SET SHOWPLAN_TEXT ON

    GO

    DECLARE @Temp TABLE

    (RowId int NOT NULL IDENTITY(1, 1),

    Col1 varchar(20) NULL,

    PRIMARY KEY CLUSTERED (RowId) )

    Select * from @Temp where RowId = 1

    Select...

  • RE: Char Datatype Match

    How can it be the same person if they don't have the same last name??

    Anyways, here's more info on the soundex. It looks like it stops analysing at the...

  • RE: Update Field Question

    Still not sure of what you want...

    Update tblMemberContact set Board = 1 /*true*/ where Contact_ID = 20

    This will update all the rows of the table with a contact_id of 20....

  • RE: Insert based on date

    Cool, post again if you need further assistance.

  • RE: Table Variable

    You just have to know where to look for this kind of stuff .

  • RE: Alas, why this proc i cant capture the print ''''hello'''' ?????????

    No thanx... I don't drink.

  • RE: Sql Server 2000 Enterprise Versus Standard Edition

    if object_id('Tempdb..#temp') > 0

    DROP TABLE #temp

    GO

    Create table #temp

    (

    id int not null identity (1,1) primary key clustered,

    SSN CHAR(9) not null

    )

    GO

    Insert into #temp (ssn) values ('123456789')

    Insert into #temp (ssn) values ('987654321')

    Insert into...

  • RE: Instead of Insert Trigger

    Well you can create a temp table with identity instead of the current id column, set identity_insert on for that table, ship all your current data to this table,...

  • RE: Update Field Question

    update the whole table for the field id = 20 or the field id = 20 and is in this query?

Viewing 15 posts - 16,936 through 16,950 (of 18,923 total)