Forum Replies Created

Viewing 15 posts - 20,536 through 20,550 (of 26,490 total)

  • RE: buld a rule with Numeric chars only

    Jeff Moden (6/8/2009)


    Carl Federl (6/8/2009)


    Perhaps I am missing something, but what is wrong with the system function "isnumeric" ?

    CREATE RULE [dbo].[NumericCharsOnly]

    AS

    ISNUMERIC(@value) = 1

    GO

    Here's one of many problems...

  • RE: Builtin\Administrators are by default member of Sysadmin role

    As long as you have the Builtin\Administrators account in SQL Server, anyone who is a member of that role will have SysAdmin access to that instance of SQL Server.

  • RE: Incorrect Sorting

    Care to elaborate on the problem a bit? What would really help is and explaination of your code (why the count() over, for one). Also, what is the...

  • RE: buld a rule with Numeric chars only

    Lowell (6/8/2009)


    the exact error i got was this:

    Msg 513, Level 16, State 0, Line 1

    A column insert or update conflicts with a rule imposed by a previous CREATE RULE statement....

  • RE: Are the posted questions getting worse?

    GilaMonster (6/8/2009)


    Tom Brown (6/8/2009)


    I never did computers at University (Chemical Engineering dept didn't seem to have a use for them back in 1984) So this Big 'O' notation is completely...

  • RE: Are the posted questions getting worse?

    GilaMonster (6/8/2009)


    Lynn Pettis (6/8/2009)


    GilaMonster (6/8/2009)


    Hey Barry. How about some basic Computer Science theory to start the day?

    http://www.sqlservercentral.com/Forums/Topic730611-8-1.aspx

    Oh, great, our "PhD Candidate". Could have warned us on that one, Gail.

    And...

  • RE: buld a rule with Numeric chars only

    Lowell (6/8/2009)


    ok, it looks like two wrongs make a right...NOT combined with [^0-9] ALMOST looks like it works:

    CREATE RULE [dbo].[NumericCharsOnly]

    AS

    @value NOT LIKE '%[^0-9,-+]%'

    but the - and + ,...

  • RE: Compare Columns

    Tara (6/8/2009)


    sample data

    Code1 Code 2 Code3

    865986239354

    865986239354

    865986239354

    NULL NULl NULL

    First, can't cut, paste, and execute the...

  • RE: why i can't shrink tempdb data file

    Sounds like SQL Server went down hard initially. This means it has to recover the databases to a consistant state. have the database recoveries completed, or are they...

  • RE: Compare Columns

    Tara (6/8/2009)


    something like this where in all the Code column in one server is char(5) and the other is varchar(5)

    select h3.code1,h3.code2,h3.code3,h6.code1,h6.code2,h6.code3

    from hock3.obever.emp h3 inner join

    hock6.obever.emp h6

    where h3.code1h6.code1...

  • RE: Mirror, replication or copy a database on same server

    A mirror won't do this for you even if you did have a separate server to use, as you can't access the data on a mirror database directly.

    Looks like replication...

  • RE: Compare Columns

    Could you provide us with the DDL for the tables, sample data for the tables (in a readily consummable format that we can cut, paste, and execute in SSMS), the...

  • RE: CTE question

    Eralper (6/8/2009)


    Yes Recursive queries add a lot easiness to the t-sql development.

    I had built a recursive split function, a numbers table, etc.

    Or you can query on hierarchical data on a...

  • RE: Are the posted questions getting worse?

    David Burrows (6/8/2009)


    Lynn Pettis (6/7/2009)


    But if he read the BOL entry for RESTORE FILELISTONLY, why ask the question? :w00t:

    To wind you up? :rolleyes:

    And send me screaming back to my...

  • RE: Update multi cols in 1 update (in 3 way join)

    DBASkippack (6/8/2009)


    Is it possible to update more than 1 column from a 3 way table join?

    the following update works when I remove , Col_D = S.Col_D

    How can I accomplish...

Viewing 15 posts - 20,536 through 20,550 (of 26,490 total)