Forum Replies Created

Viewing 15 posts - 16 through 30 (of 93 total)

  • RE: get Count(*) to return 0

    Check the response from GilaMonster and post the ready to consume DDL and DML scripts....

  • RE: Insert hash Record

    sorry..not done intentionally..because of slow system response, i would have clicked 3 times and hence 3 replies....is this the problem with this application?

  • RE: Insert hash Record

    check if you are looking for this..

    USE TEMPDB

    GO

    declare @hash varbinary (255)

    CREATE TABLE tempdb..h (id_num int, hash varbinary (255))

    SET @hash = pwdencrypt('123') -- encryption

    INSERT INTO tempdb..h (id_num,hash) VALUES (1,@hash)

    SET @hash =...

  • RE: Insert hash Record

    check if you are looking for this..

    USE TEMPDB

    GO

    declare @hash varbinary (255)

    CREATE TABLE tempdb..h (id_num int, hash varbinary (255))

    SET @hash = pwdencrypt('123') -- encryption

    INSERT INTO tempdb..h (id_num,hash) VALUES (1,@hash)

    SET @hash =...

  • RE: Insert hash Record

    check if you are looking for this..

    USE TEMPDB

    GO

    declare @hash varbinary (255)

    CREATE TABLE tempdb..h (id_num int, hash varbinary (255))

    SET @hash = pwdencrypt('123') -- encryption

    INSERT INTO tempdb..h (id_num,hash) VALUES (1,@hash)

    SET @hash =...

  • RE: get Count(*) to return 0

    try with Left join and group by....

  • RE: Restore option-During cutover

    Redundant Post...

    why dont you continue in the old post...same query again..

    http://www.sqlservercentral.com/Forums/Topic826786-338-1.aspx

  • RE: Delimited file import

    try this..

    BULK INSERT testtbl

    FROM 'f:\orders\lineitem.txt'

    WITH

    (

    FIELDTERMINATOR =' |',

    ...

  • RE: Mostly Used Stored Procs

    Was busy in one production issue. sorry for the late reply. Thanks all for replies...

  • RE: CSV Files

    Thanks Jeff for your clue on xp_DirTree..It really helps....

  • RE: CSV Files

    Instead, You can use bulk insert to load files, if you are not comfortable with SSIS.

    Check if the below code helps you.

    Create procedure usp_ImportMultipleFiles @filepath varchar(500),

    @pattern varchar(100), @TableName varchar(128)

    as

    set...

  • RE: performance issue and rebuilding of indexes

    Two things..

    1) DMV Not working...

    I have copied and pasted your code in Query window and it executed successfully. may you...

  • RE: Use calculated column name in query again in the same query

    For getting faster response, please post readily consumable sample script.

    for now i have created a table with dummy data and calling the calculated price column at multiple places in the...

  • RE: Create a trigger on a column

    Alter the trigger to work only for Insert (remove update).

    Change for Insert, update to for Insert.

    You create another trigger for update if you want any other transaction to happen on...

  • RE: Use "like statement" in stored procedure

    Instead...

    to make the code work with varchar variable..

    you can change the code

    from

    EXECUTE sp_executesql @SSQL

    to

    Exec(@SSQL)

    --Jus

Viewing 15 posts - 16 through 30 (of 93 total)