Forum Replies Created

Viewing 10 posts - 31 through 40 (of 40 total)

  • RE: multiple params for where condition ??

    Hi,

    Thanks for the reply.

    My main concern in this query is how to pass the multiple user inputs for the same column?

    User might enter a big sentence with AND /...

  • RE: multiple params for where condition ??

    How will this work?

    Can u pls explain?

  • RE: Cursors for T-SQL Beginners

    Extending the table structure given in the article[/url]

    I have added an extra table for UserListing.

    CREATE TABLE dbo.tblUser ( codUser INT, codName VARCHAR(20),PRIMARY KEY (codUser));

    insert into dbo.tblUser values (1, 'abc');

    insert into...

  • RE: Problem with decryption

    Thanks for the reply.

    GilaMonster (11/5/2008)

    Remember that not all users will have rights to open the symmetric key.

    Thats fine. What If somebody hacks the database and access the mdf file,...

  • RE: Problem with decryption

    Here is my query:

    --------------------------------------------

    create table #tempp

    (

    Id int IDENTITY(1,1),

    [profile] varchar(max)

    )

    OPEN SYMMETRIC KEY KOLSymmetricKey

    DECRYPTION BY CERTIFICATE KOLProfile037;

    go

    select [Profile],

    CONVERT(nvarchar, DecryptByKey(EncryptedProfile)) EncryptedProfile

    from #tempp

    go

    I got the answer. I was using a different...

  • RE: Need help in a query - Accessing and modifying previous row data

    Hi Amit Khanna,

    Thanks for ur reply. I am an asp.net developer, not a dba :rolleyes: but still i have a good knowledge on db.

    I have used joins on tables,...

  • RE: Need help in a query - Accessing and modifying previous row data

    Hi Amit,

    Can you (or anybody) explain me how this CTE works..??

    I am confused.. 🙁

    Thanks in advance..

  • RE: Need help in a query - Accessing and modifying previous row data

    Thanks a lot Amit Khanna.. 🙂 Great job..

    Updating the temp table as done by Arjun tewari will not be a good idea in this case..

    declare @i int

    set @i=234

    update #temps...

  • RE: LIKE operator

    create table #Like_Test( Col1 varchar(5) )

    insert #Like_Test values('_Cus')

    insert #Like_Test values('Cus_')

    insert #Like_Test values('C_us')

    insert #Like_Test values('Cus')

    insert #Like_Test values('Cu_s')

    select * from #Like_Test where Col1 Like '%Cu_%'

    How can we really get the row...

  • RE: Who is "the IT guy?"

    Here, in India i have noticed that they call us "Software Engineer" not an IT guy, and that looks good. 😉

Viewing 10 posts - 31 through 40 (of 40 total)