Forum Replies Created

Viewing 15 posts - 23,881 through 23,895 (of 26,490 total)

  • RE: monitor table and invoke stored procedure if any inserts happens in that table using notification service

    You are aware that SQL Server Notification Services (if that is what you are refering to in your posts regarding notification services) goes away with SQL Server 2008.

  • RE: Notes

    Using my example tables, do you really want notes for records from on Employees, Vendors, And Customers in the same table? From a design point of view, it isn't...

  • RE: NOT NULL and Spaces

    Christopher Stobbs (11/5/2008)


    Lynn yours would work if you LTRIM RTRIM the status first.

    I thought so. I just attacked the obvious BOOLEAN error in the original code and didn't really...

  • RE: date issue

    bang725 (11/5/2008)


    in my table date is in format - 11/1/2008 12:00:00 AM

    while sending HTML email notification it is coming like 2008-11-01T00:00:00?

    wht is issue?

    No issue. What you see in...

  • RE: Notes

    Let us approach it from a different direction. Three tables Customer, Vendor, Employee. Each table has a related Notes Table, CustomerNotes, VendorNotes, EmployeeNotes. Do you REALLY want...

  • RE: How can I change my index scan to and index seek

    Andrew Peterson (11/5/2008)


    an index works as well, but try to keep it narrow and put some of the lesser values in an include. you want to keep it as narrow...

  • RE: Notes

    I have to agree with Lowell. Each table should have its own "Notes" table with approprate FK relationships defined.

  • RE: NOT NULL and Spaces

    Sounds good. Again, just curious, did you try changing the OR to AND in your original query?

  • RE: Notes

    Here it comes....

    It Depends.

    There, said it. It depends on how often the field is going to referenced in queries for one. Second, how big is the table and...

  • RE: How can I change my index scan to and index seek

    Why build an indexed view. You can just build a covering index.

    --build a nonclustered index

    create nonclustered index xxx_empno_IX1 on

    xxx (

    ...

  • RE: NOT NULL and Spaces

    dale_keller (11/5/2008)


    Thanks ever so much. That worked great.

    Which way did you fix your problem?

  • RE: Query in 2000 returns in 1 second, in 2005 it runs for more than six minutes

    What is the view? Please post the DDL for the view as well.

  • RE: need to deselect null values in a table

    Here is the skeleton code you would use:

    update dbo.mytable set

    column2update = somevalue

    where

    column2update is null;

    What value you would use; that you, your developers,...

  • RE: transaction logs

    GilaMonster (11/4/2008)


    Lynn Pettis (11/4/2008)


    WHY is everyone so eager to shrink their databases transaction log files?

    Beats me. I'm wondering why people are so eager to throw away log records and...

  • RE: need to deselect null values in a table

    Before you can set a column that currently allows NULL values to NOT ALLOW NULL values, you have to identify all the rows in the table where that column currently...

Viewing 15 posts - 23,881 through 23,895 (of 26,490 total)