Forum Replies Created

Viewing 15 posts - 8,476 through 8,490 (of 13,469 total)

  • RE: Larger Default Trace

    Jack Corbett (10/28/2010)


    I'll take it. Shouldn't take long to put it together. Probably be a combo of Profiler & T-SQL

    Jack I've got a minor article i contributed that...

  • RE: A little Help

    it's in the comments of hte proc:

    --#############################################################################

    --if you are going to put this in MASTER, and want it to be able to query

    --each database's sys.indexes, you MUST mark...

  • RE: Table Value Function

    as usual, it depends....

    an inline table value function should perform the same...a multi statement TVF often slows things down...

    care tou show us the function to see if we can...

  • RE: Hashing data in existing schema

    anish, it looks to me like you are truncating your value by at least a couple of characters..., so you would never be able to compare a hash to the...

  • RE: Trace Faling sp_executesql

    boris with Profiler running agaisnt my 2008 machine, i'm running this command as a crappy example into a table, which i know will produce a pk violation:

    CREATE TABLE [dbo].[MYADDRESS] (...

  • RE: Renameing a column in all tables in a sql 2008 database

    RENAME is a valid command in Oracle, but not SQL; you have to use the sp_rename procedure in this case.

  • RE: Which table is used last

    parthi-1705 (10/27/2010)


    Any other 3rd party tool can solve this.

    Trigger or not good to used on all the tables in the DB

    Server side trace may be good for one point of...

  • RE: Hard coding leading zeros to Unique IDs

    mashikoo (10/27/2010)


    Hi Lowell,

    That's exactly what I'm trying to do add a calculated column to create the desired version and leave the original integer data untouched but i don't to Alter...

  • RE: Hard coding leading zeros to Unique IDs

    you can add a calculated column to create the desired version and leave the original integer data untouched; you can do the same in the presentation layer as well.

    ie

    ALTER TABLE...

  • RE: date issue

    MonsterRocks (10/27/2010)


    declare @to_date datetime

    set @to_date= ' '

    print @to_date

    it will return 1st jan 1900....why?... any help?.. we cant assign this '' value to a datetime variable?

    sql will...

  • RE: Enterprise manager not shown in start menu

    snehagupte (10/27/2010)


    thanks for quick help.

    i did as u said, but its not even showing the sql server folder where i can drag down the enterprise manager option.

    plz help.

    simply right click...

  • RE: SQl Agent Job

    the easiest way is to ask the other admins "hey did you create that job?"

    I just created a job on purpose, and it does not appear in the default trace.

    i...

  • RE: Enterprise manager not shown in start menu

    click start, and when programs button is visible, right click on it;

    "Open" is the first choice, click that.

    a folder opens, drill down inside the Programs folder to where you want...

  • RE: HELP!!! sql variable truncation

    it's a behavior thing.

    a local variable, when you assign something too big, gets truncated.

    however an error will occur if you try to insert/update to a table, which has a more...

  • RE: get the first Sunday and last Saturday

    here's the code to get the first sunday of this month;

    the last sunday of the previous month is the same date minus 7 days.

    you could change the code to get...

Viewing 15 posts - 8,476 through 8,490 (of 13,469 total)