Forum Replies Created

Viewing 15 posts - 2,491 through 2,505 (of 3,011 total)

  • RE: Database name change

    alter database [My.DB] modify name = [My.New.DB.Name]

  • RE: Database structure

    J Sitz (2/3/2008)


    Michael, thanks for the reply.

    Whey they cut the material, it is always cut in right angels. So I believe I will have everything that I will need...

  • RE: Database structure

    To describe an arbitrary polygon, you will also need to include information about the angles between the sides in order to exactly define the shape.

    There can be polygons with the...

  • RE: How to check if the column is int?

    -- Convert to int if a valid integer

    select

    TestData,

    Output_INT =

    case

    when TestData like '-%[^0-9]%'then null

    when TestData not like '-%' and

    TestData like '%[^0-9]%' then null

    whenTestData not like '-%' and

    datalength(TestData) > 10then...

  • RE: converting float to decimal

    You said you had a float to decimal converion that errors out. Maybe you could start by posting an example of that?

  • RE: converting float to decimal

    This works Ok for me in SQL Server 2000 and 2005:

    declare @var float

    set @var = 132456789.12552346

    select [Decimal] =cast(@var as decimal(11,2)), [Float] =@var

    Results:

    Decimal Float ...

  • RE: converting float to decimal

    simsql (2/1/2008)


    thanks for the reply...

    unfortunately it still errors out with the arithmetic overflow error.

    this is really frustrating.

    Don't be shy about posting the code that you want help with.

  • RE: To ID, or Not to ID, That is the Question...

    It is better to go with the ID approach. If one of the codes changes, you only have to update a single row in one table. For example,...

  • RE: plz help me out.....urgent

    You should ask your teacher for help if you are having trouble with your homework.

  • RE: ROLES Permissions got deleted

    Rob Reid (1/31/2008)


    Cheers for that SQL that will work a treat to output the correct GRANT permissions.

    As for the role being deleted and re-created again, maybe but no-one will own...

  • RE: ROLES Permissions got deleted

    Maybe the error was caused by someone deleting the role and then creating it again.

    Seems more likely than someone accidentally revoking permission on all tables to just that role.

  • RE: Print The Calender

    The link below has a number of different examples. My own is, of course, the very best.:P

    Creating a Formatted Calendar

    There are several methods is this link that will return...

  • RE: The Mistake

    Wayne West (1/30/2008)


    Michael Valentine Jones (1/30/2008)


    Microsoft is pretty quick to drop support on prior versions.

    Not every vendor does that:

    http://h71000.www7.hp.com/openvms/openvms_supportchart.html

    OpenVMS VAX version 5.5-2 released in Nov 1991

    Ending date for Prior Version...

  • RE: The Mistake

    Microsoft is pretty quick to drop support on prior versions.

    Not every vendor does that:

    http://h71000.www7.hp.com/openvms/openvms_supportchart.html

    OpenVMS VAX version 5.5-2 released in Nov 1991

    Ending date for Prior Version Support-Sustaining Engineering:

    At least through 2012,...

  • RE: Simple LEFT JOIN gives surprising result - Why?

    It appears that the query is working exactly as described in SQL Server Books Online.

Viewing 15 posts - 2,491 through 2,505 (of 3,011 total)