Forum Replies Created

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

  • RE: IsNumeric

    I think you can use something like this:

    CREATE FUNCTION PureNumeric

    (

    @STRING VARCHAR(255)

    )

    RETURNS BIT

    AS

    BEGIN

    IF ISNUMERIC(@STRING) = 1

    BEGIN

    IF (CHARINDEX('D', @STRING) <> 0) OR (CHARINDEX('E', @STRING) <> 0) OR ( CHARINDEX('$', @STRING) <> 0)

    RETURN...

  • RE: How to write SQL query to find a word in string"

    ng949 (3/20/2008)


    Hi,

    I am trying to write a SQL statement to find related videos in a video site for a particular video. The TAG terms under a video goes as a...

  • RE: Single versus separate databases

    Jack Corbett (3/4/2008)


    IMO, replication is going to be the easiest thing to setup. With replication you set up the publication(s) and subscribers and SQL Server does the rest. ...

  • RE: Finding DML action that fired trigger

    Tomm Carr (3/19/2008)


    Both pseudo tables exist for every trigger. Here is a code snippet I include in every multiple-operation trigger.

    Nicely done :). Actually, I've never checked the "existence" of those...

  • RE: eDiscovery questions

    Hi,

    I would recommend you to use a %NT% over the fields.

    However, you should check the architecture of the app. Maybe you can make regular searches on the data en build...

  • RE: how can we use 'or'in query

    jagpalsingh4 (3/18/2008)


    hi,

    plz check this query and find out y its not running .where is the fault

    select 'my details'=addressline1 +or+'city' from person.address

    thaxxx

    regards

    jagpal singh

    Hi,

    I don't understand what you want...

    However, I...

  • RE: Finding DML action that fired trigger

    True.

    Remember that you can have as many triggers as you want, even for the same event.

    Regardless of that, I guess you can try to check the existance of the INSERTED...

  • RE: Shrink all databases

    That's true, scheduled or regular shrink is a bad practice, in paper.

    Sometimes there isn't enough time to fix the App and we need to solve things on the run. Change...

  • RE: Shrink all databases

    Hi,

    I think that's the issue isn't only the usefulness of the script. The script itself it's ugly :p

    Actually, you should be getting first the recovery mode of the DB and...

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