Forum Replies Created

Viewing 15 posts - 151 through 165 (of 231 total)

  • RE: Delete old Backup files using T-sql script

    What is the error you are getting?

  • RE: DENY CREATE Diagram using GUI

    Steve you are abosolutly correct but the thing is i want to prevent it in development enviornment as App deve offen create the diagrams which different names & i want...

  • RE: Arrays in SQL tables

    It would be great if you put any example for better understanding 🙂

  • RE: varchar vs nvarchar - Which is preferred ?

    Well I suggest all depends on your business requirement, if you business supports multi language the you should go with NVARCHAR.(I guess you have the knowledge of difference between VARCHAR...

  • RE: let's have a debate on using numeric data type :-)!

    hey sorry Jack, for duplicate post its my bad.

    thanks for your suggestions...:-)

  • RE: Cascade Delete

    yeah it would be a suggetion to create "CASCADE DELETE" on child table in the scenarion you have mention but do remember to verify do you have any cyclical...

  • RE: Stored Procedure permission

    You can explicitly grant the permission to the user to modify the stored proc by usering "GRANT" statement.

  • RE: Recursive Query using CTE with SQL server2005

    i dn't think so you need to user CTE for it it can be done by following way(as mentioned by you only)..

    declare @tbl_User table( UserID INT, Username varchar(10), LoginName varchar(20))

    declare...

  • RE: Use of GO

    Vijaya,

    I must appreciate for explanation you hvae provided. As you said, (*** The current batch of statements is composed of all statements entered since the last GO....***) I have one...

  • RE: Polymorphed Proc

    You should always know why this is working if you dn't know ask experts

    in below examples it creates the procedure with name 'GO' just like 'CREATE PROC uspGO' it takes...

  • RE: Delete query help

    Why you are going for so many joins, you can achieve this by simple query...

    DELETE b

    FROM ADIM_ASSOCIATE_CONTRACTOR_RawImport b

    JOIN ADIM_ASSOCIATE_CONTRACTOR a ON a.EMPLOYEE_NUMBER = b.EMPLOYEE_NUMBER AND a.[REHIRE_DATE] = b.[REHIRE_DATE]

  • RE: Sql Query (Urgent)

    I think below example will give you better performance ...

    CREATE TABLE tmpProduct

    (

    ProductIDINT IDENTITY(1, 1) PRIMARY KEY CLUSTERED,

    ProductNameVARCHAR(10)

    )

    CREATE TABLE tmpProductSales

    (

    ProductSalesIDINT IDENTITY(1, 1) PRIMARY KEY CLUSTERED,

    ProductIDINT,

    TotalAmtMONEY,

    BalanceAmtMONEY

    )

    INSERTtmpProduct(ProductName)

    SELECT'Pr0duct' UNION

    SELECT'Pr0duct2' UNION

    SELECT'Pr0duct3' UNION

    SELECT'Pr0duct4'

    INSERTtmpProductSales(ProductID, TotalAmt, BalanceAmt)

    SELECT1,...

  • RE: Delete specified excel files using file system task inside foreach loop container

    rfugikawa (1/21/2009)


    Use the "Foreach Loop Container" object.

    - Set the folder;

    - set the files (*.xls);

    - Retrieve file name = fully qualified;

    - In Variables Mapping, set a variable with index = 0;

    -...

  • RE: DB Design Question

    before suggesting any design have you done any worked out on any design?

  • RE: Maintaining Different versions of SQL Server on same machine

    While installing SQL 2k5 have you choose the option for upgrading...?

Viewing 15 posts - 151 through 165 (of 231 total)