Forum Replies Created

Viewing 15 posts - 31 through 45 (of 122 total)

  • RE: Splitting a table - a good idea?

    Splitting a table can have advantages.

    If it is a table that has several fields that are frequently read

    but never updated and other columns are read and updated.

    I ran into...

  • RE: Transaction isolation level read uncommitted ?

    DBCC USeroptions gave the answer

    sorry for the question....

  • RE: Difficult query

    Thanks Fergusson.

    I have tried numerous things and nothing seems to work.

    What i do now is insert them in a mem table and then select the value I want.

    Not a nice...

  • RE: Difficult query

    Antares you are missing the point here,

    it is indeed modified from the books online.

    But the case doesn't use a single column, it uses 12 different columns spread over 3 tables.

    So...

  • RE: Difficult query

    Yes in this case that works.

    But it was a simplified example.

    Th real query doesn't take a value from a single column or table but uses

    3 joined tables and several fields...

  • RE: Difficult query

    Thanks for the help, but I tried it already it give me :

    Server: Msg 207, Level 16, State 3, Line 1

    Invalid column name 'Example'.

  • RE: DB schema update deployment

    I have such a solution.

    It works with VSS and OSQL Scripts.

    But it is not as good as it should be. Because

    the whole system starts or stops with 'Labeling in VSS'

    and...

  • RE: A Lookup Strategy Defined

    Just a few remarks because I recognize the problem but see a few problems with the solution..

    1. Is the database diagram still readable ?

    2. Are the queries where a couple...

  • RE: Count WeekDays

    select datepart(dw,datefield) from tablexy where datefield ...

    The weekday (dw) datepart returns a number that corresponds to the day of the week, for example: Sunday = 1, Saturday = 7....

  • RE: Disk I/O

    Yep you can, have a look at the script

    Log DISK IO statistics per Database file!!!

    that is posted on this site, i think it does what you are asking.

    It...

  • RE: Simple way to determine columntype in t-sql

    Well something weird went on with those usertypes so no i changed you rquery to :

    declare @tbl sysname

    set @tbl = 'table2'

    select sc.name as 'ColumnName',

    ...

  • RE: Simple way to determine columntype in t-sql

    DOes this one also works for usertypes ?

  • RE: UDF's vs Procs

    Crappy,

    You are right it is called for every record.

    But this is how I see them all the time.

    If your function is different and is not used in a select...

  • RE: Protecting Proprietary SQL code

    You never have to crack or decrypt 'with encryption'.....

    Just make sure you have the profiler on when the sproc is created.....

    ( hi hi )

Viewing 15 posts - 31 through 45 (of 122 total)