Forum Replies Created

Viewing 15 posts - 1,621 through 1,635 (of 7,429 total)

  • RE: SQL 2000 Installation problem

    Could be hardware. What is the currently load in Task Manager and shutdown any services such as Virus Scan while installing and those you don't expressly need that are eating...

  • RE: A future for stored procedures?

    A few other factors that get overlooked a lot or OUTPUT paramters. Many times I will do an insert or update and not care to get a recordset back so...

  • RE: View Issues

    Glad could help, sorry thou took me so long to realize what was going on in the query with the ANDs and ORs.

  • RE: View Issues

    Oops I see the issue now. Silly me if you do this

    WHERE

     (ExpiryDate != '20040630' AND CONVERT(varchar(10), InsertDate, 112) != '20040310') AND

     (ExpiryDate != 'Edate2' AND CONVERT(varchar(10), InsertDate, 112) != 'Idate2')...

  • RE: IS IT POSSIBLE

    Try

     

    ORDER BY

    CAST(column AS varchar(10))

  • RE: Cursor or the While loop?

    Which is better is not a real point Andy. What matters is for this situation which works best. You still have to test each. All should be considered alternatives and...

  • RE: Cursor or the While loop?

    Just another option

    UPDATE

     T1

    SET

     MinDate = T2.MinVal,

     MaxDate = T2.MaxVal

    FROM

     WT_Total_Purchases T1

    INNER JOIN

     (

      SELECT

       optioneekey,

       offeringperiodkey,

       min(create_dt) MinVal,

       max(create_dt) MaxVal

      FROM

       WT_ESPP_FACT

      WHERE

       eventkey IS NULL

      GROUP BY

       optioneekey,

       offeringperiodkey

    &nbsp

  • RE: SQLVerify method

    From SQL BOL

    The SQLVerify method does not perform a restore of any SQL Server database or transaction log.

    To the best of my knowledge without building an app real quick, it...

  • RE: Altering and Updating Hash Table gives funny error

    If you do

    select * from tempdb..syscolumns where [id] = object_id('tempdb..#temp')

    after your alter you will see the value has been updated to rflect the third column.

    What I believe is happening is...

  • RE: View Issues

    SOrry see your point should be

     

    WHERE

     (ExpiryDate != '20040630' AND CONVERT(varchar(10), InsertDate, 112) != '20040310') AND

     (ExpiryDate != 'Edate2' AND CONVERT(varchar(10), InsertDate, 112) != 'Idate2') AND

     (ExpiryDate != 'Edate3' AND CONVERT(varchar(10), InsertDate, 112) !=...

  • RE: View Issues

    Actually I think the where would be more like

    WHERE

     (ExpiryDate != '20040630' AND CONVERT(varchar(10), InsertDate, 112) != '20040310') OR

     (ExpiryDate != 'Edate2' AND CONVERT(varchar(10), InsertDate, 112) != 'Idate2') OR

     (ExpiryDate != 'Edate3'...

  • RE: DTS Question

    Can you walk me thru how you set up each step and how the next query is determined?

    Also is the next tasks query changing in any way?

     

  • RE: Query Analyzer Questions

    1) Look at the @@ROWCOUNT variable.

    In you QA code add SET NOCOUNT ON to the begin. Delcare a variable of a large enough numeric type (most likely int will work),...

  • RE: SQL Best Practice: Use Windows groups instead of indiv windows logins question

    To take a little further you can create a base role and and exteneded role which is also a member of the base role. Example where this would be seen.

    HR...

  • RE: DTS Question

    You cannot do this with an Execute SQL Task in general cases. However what is it that is it you are actually after? Number of record affected, the data returned...

Viewing 15 posts - 1,621 through 1,635 (of 7,429 total)