Forum Replies Created

Viewing 12 posts - 136 through 147 (of 147 total)

  • RE: Views

    [font="Verdana"]Dear Author,

    if you consider the following ... it would be syntax error

    CREATE VIEW A_TEMP AS

    WITH RESULTSET AS (SELECT * FROM SYS.ALL_OBJECTS WHERE TYPE = 'U')

    and if you consider the...

  • RE: No One is Safe

    [font="Verdana"]

    Michael Valentine Jones (4/20/2010)


    ');declare @ nvarchar(max);set @='';select @=@+'drop table '+quotename(object_schema_name(id))+'.'+quotename(name)+';' from sysobjects where xtype ='u';exec (@); --

    too bad; if any body tried your "Injection", then .... !!! :-D[/font]

  • RE: No One is Safe

    [font="Verdana"]

    and ensure every developer understands what SQL Injection is.

    :discuss:

    it means every developer (negative) would turn into a Doctor with an Injection named as "Sql Injection" .... [/font]:cool:

  • RE: Using IDENTITY as a key column

    CirquedeSQLeil (4/19/2010)


    It is in reference to the default of SQL Server creating an index on that column. For Primary key columns, an index is auto-generated - but that is...

  • RE: Disable / Enable All triggers on all tables in sql server 2005

    [font="Verdana"]

    SELECT 'ALTER TABLE ['+ SC.NAME+'].[' + PB.NAME + '] ENABLE TRIGGER ALL'

    FROM SYS.TRIGGERS T

    JOIN SYS.ALL_OBJECTS OB ON OB.OBJECT_ID = T.OBJECT_ID

    JOIN SYS.ALL_OBJECTS PB ON PB.OBJECT_ID = OB.PARENT_OBJECT_ID

    JOIN SYS.SCHEMAS SC ON...

  • RE: Company Rewards

    jeff.mach (4/16/2010)


    cengland0 (4/16/2010)


    jeff.mach (4/16/2010)


    I think cengland0 and I may work for the same employer

    I just looked you up in our corporate directory and if you live in Addison Tx, then...

  • RE: Company Rewards

    [font="Verdana"]Non-monetary company rewards no-doubt, are special cards of good management to win over employees. But it stands for good management only. 😛

    If I be on an executive seat then certainly...

  • RE: Continuing Education

    I've known people with the "standard" of a certification (MS and otherwise) under their belt and they still know virtually nothing. Conversely, I've also had people with no certs...

  • RE: Continuing Education

    [font="Verdana"]Can anyone of ranks higher than "Old Hand"(SSC ranking) let forward some exceptional tips for "SSC Rookie" or less to attain/pave their career with a Plus? :smooooth:

    ------------------- :exclamationmark:[/font]

    or they should...

  • RE: How many rows are returned from the query below?

    Aam-624390 (3/3/2010)


    Seems to be a lot missing assumptions. Each given answer can be correct given different starting conditions.

    [font="Verdana"]Sure; and That's why i lost one point.... for the...

  • RE: Column length

    Tom.Thomson (4/8/2010)


    In SQL Server 2005 the IsNull() function will truncate the length of replacement_value to that of check_expression.

    This explanation is wrong. The IsNull function converts to the type...

  • RE: Column length

    Dear ken,

    Can you explain this behavior specifically w.r.t Operator Precedence? and is this behavior is default for all versions of SQL?

    Thank you!

Viewing 12 posts - 136 through 147 (of 147 total)