Forum Replies Created

Viewing 15 posts - 646 through 660 (of 1,253 total)

  • RE: OBJECT_ID, system_function_schema

    Hi

    There is a syntax error in your code , "=" is missing .

    IF EXISTS (SELECT *

    FROM dbo.SysObjects

    ...

    "Keep Trying"

  • RE: Uncommon Table Expressions

    really liked the article...

    "Keep Trying"

  • RE: VarChar(max)?!?

    Yup... i got the same results..

    "Keep Trying"

  • RE: Need all databases, tables and indexes in T-sql

    SET @SqlCmd = 'USE ?;SELECT DB_NAME() AS DATABASENAME,

    OBJECT_NAME(B.OBJECT_ID) AS TABLENAME,

    ...

    "Keep Trying"

  • RE: Need all databases, tables and indexes in T-sql

    Hi

    In the @Database table variable store database id also.

    Then in you select query change this part

    "FROM SYS.DM_DB_INDEX_USAGE_STATS C

    ...

    "Keep Trying"

  • RE: Recurring events

    Hi

    sorry for the delay.

    to calculate the scheduledate

    select * from

    Maintenance where dateadd(mm,6,datestart) for maint_id = "somevalue" and datestart = getdate().

    similarly for the week,year,days etc.

    Put this in a proc...

    "Keep Trying"

  • RE: SQL Encryption:hiding the Password

    what abt this..

    One single encrypted procedure containing the open master key statement.

    In the procedure that inserts the data

    call the master key proc

    do the...

    "Keep Trying"

  • RE: No More Katmai

    Its been a relatively fast release for SQL 2008. I sometimes feel that such fast releases result in a lot of cost to companies and people working on SQL. All...

    "Keep Trying"

  • RE: Problems in ORDER By

    pls post the query.

    from BOL - " A sort column can include an expression, but when the database is in SQL Server 2005 (90) compatibility mode the expression cannot resolve...

    "Keep Trying"

  • RE: Inserting into Clustered Indexed table

    Try to insert the data in small batches if thats possible.

    "Keep Trying"

  • RE: revision control of database schema changes

    Hi

    I do not use any tools , so what i do may not help you. But still... All the schema changes are stored in a folder createad for each date....

    "Keep Trying"

  • RE: SQL Encryption:hiding the Password

    Hi

    Dont know whthr this will help or not ... what abt putting the open master key statement in a encrypted procedure.

    "Keep Trying"

  • RE: Un-retiring

    I agree with Steve... Most of us can take a break and come back to our previous levels in a (short) period of time. The main reason i think is...

    "Keep Trying"

  • RE: Recurring events

    Seems like you want us to help you in designing tables. My suggestion is that you do a rough design and then post it here. It will give us more...

    "Keep Trying"

  • RE: Need all databases, tables and indexes in T-sql

    Hi

    U can use sys.databases by joining it with SYS.DM_DB_INDEX_USAGE_STATS on database_id column.

    "Keep Trying"

Viewing 15 posts - 646 through 660 (of 1,253 total)