Forum Replies Created

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

  • RE: Bug with IN?

    I totally agreed with Lynn Pettis. Criticizing is too easy and everyone can do this. But be a mentor and/or helpful to other is not everyone domain?

  • RE: Pages I

    Thanks, my asnwer was wrong but learn something today.

  • RE: help in joining three tables

    The Victor T. Alvarado is right.

    You can put the saqure braket [] arround the user and it will work fine.

    But I would like to suggest and make...

  • RE: Where clause

    I agree with soultower that you don't need any WHERE clause condition on 2nd column if you want to include all record of that column.

    Your query will look like

    SELECT

    ...

  • RE: Query for specific records each new day

    You desire query will look like.

    SELECT

    Data_ID

    , DateTime

    , Batt_Vltg

    FROM

    tableName

    WHERE

    DateTime = CAST((CONVERT(VARCHAR(10),GETDATE(),103) + ' 04:00AM') AS DATETIME)

    Current...

  • RE: Check a table exist and Delete

    I would like to suggest that initially have look on BOL (Book online) provided with SQL SERVER on any artical. It will really save a much time and develop the...

  • RE: Check a table exist and Delete

    You can use the bellow syntax; to replace the table name with your desired table name.

    if exists (select * from dbo.sysobjects where id = object_id(N'[TableName]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)

    drop...

  • RE: Need some help troubleshooting my first email alert trigger

    I believe that you don't have a complete overview of the trigger. Have you imagine the implication of this you are doing?

    Trigger normally used for the data to be...

  • RE: How can i match where the personnel number shows at least 4 times HELP?

    You can use the ISNULL function provided by the system;

    Here is the example

    SELECT ISNULL([Last Date], GETDATE()) AS [LAST DATE]

  • RE: CharIndex, Replace, Substring not work with Diacretic why ?

    You are using the start position by the variable @iPos1, which holds the first occurence position of require character. That why I get the position of the next occurence rather then the first...

  • RE: INSERT_UPDATE Stored Proc

    You misplace the BEGIN 's END for the INSERT CASE. It should be before ELSE

     

  • RE: Pull in a current value

    I think you are asking for 

    INSERT INTO table1 ( columns) SELECT coulmns FROM table 2

    WHERE fpartno LIKE rtrim(@partno1) + '%'

     

  • RE: Creating On Date change trigger???

    Can you explain what you mean by system date change. You know every second the date is change and what you want to achieve by this. Detail description of problem...

  • RE: Sort of recursive query problem

    Your table stucture does not show any unit information of product. Can you explain how the units stored in these table?

  • RE: Updation of data with dublicate entry

    If Date already stored in the database table then why are you modifying and restoring it again. If you need the format somewhere to show the date then you need the...

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