Forum Replies Created

Viewing 15 posts - 271 through 285 (of 321 total)

  • RE: Should applications share a database?

    sam (10/22/2008)


    I have a general database design question.

    Our company has multiple hosted web applications. Each of those applications currently use a single sign solution that reads from...

    kshitij kumar
    kshitij@krayknot.com
    www.krayknot.com

  • RE: Not Equal

    i think the query would be

    select * from not_equal where (name <> 'name1' and age >= 25)

    kshitij kumar
    kshitij@krayknot.com
    www.krayknot.com

  • RE: Creating new database with existing MDF(only MDF) file.

    nairsanthu1977 (10/22/2008)


    Dear All,

    I have downloaded MDF of my database from live server to local server.

    Now I want to create a database in loocal server pointing to this MDF file.

    How can...

    kshitij kumar
    kshitij@krayknot.com
    www.krayknot.com

  • RE: query to update the lost record in all tables using cursor

    batthula.swetha (10/22/2008)


    can someone help me in writing a query for the described task

    Well i use this query. this returns the tablename.columnaname and the value in which the value it finds:

    i...

    kshitij kumar
    kshitij@krayknot.com
    www.krayknot.com

  • RE: query to update the lost record in all tables using cursor

    batthula.swetha (10/22/2008)


    can someone help me in writing a query for the described task

    give me some time please

    kshitij kumar
    kshitij@krayknot.com
    www.krayknot.com

  • RE: Select Query to get two rows

    Arul Manoj (10/22/2008)


    Hi,

    I have the below table structure:

    RowNumber UserId UserNmae Date

    1 ...

    kshitij kumar
    kshitij@krayknot.com
    www.krayknot.com

  • RE: Procedure Cache

    dastagirid (10/22/2008)


    hello(urjent)

    Explain with any example for procedure cache..

    Thanks:

    Dastagiri.D

    Use this

    http://sqlblogcasts.com/blogs/tonyrogerson/archive/2007/07/07/procedure-cache-tuning-sizing-from-1gbyte-to-768kbytes-increase-the-size-of-usable-data-cache.aspx

    kshitij kumar
    kshitij@krayknot.com
    www.krayknot.com

  • RE: Indexes

    dastagirid (10/22/2008)


    hello,

    In my query are:

    1) select * from orders where ordered BETWEEN 100000...

    kshitij kumar
    kshitij@krayknot.com
    www.krayknot.com

  • RE: md5 tsql

    aleksandr.fisher (10/22/2008)


    Is there way to encrypt decrypt with MD5 algorithm column value for sql server 2005 using tsql

    Isn't there ready to use functions?

    Help would be appreciated

    i dont think that...

    kshitij kumar
    kshitij@krayknot.com
    www.krayknot.com

  • RE: tables affected after procedure run

    shiwani2002sg (10/22/2008)


    can anyone suggest some querry with which i can find how many tables were affected( with insert or update) with last querry.

    say if i run some procedure

    insert_into_tables...

    kshitij kumar
    kshitij@krayknot.com
    www.krayknot.com

  • RE: max size of sql statement parameter

    Glen (10/22/2008)


    Did you ever tried Varchar(MAX).

    In SQL server 2000?

    oh im sorry for that

    but in sql server 2000

    there is varchar(8000)

    kshitij kumar
    kshitij@krayknot.com
    www.krayknot.com

  • RE: SQL Server Client Connectivity Tools

    what do you want to do

    kshitij kumar
    kshitij@krayknot.com
    www.krayknot.com

  • RE: SQL 2005 Query to get time difference between two adjacent rows

    krayknot (10/21/2008)


    Arul Manoj (10/21/2008)


    I have table to store user login details. Now i want to get the time difference for each login for all users. The table is as below

    User...

    kshitij kumar
    kshitij@krayknot.com
    www.krayknot.com

  • RE: SQL 2005 Query to get time difference between two adjacent rows

    Arul Manoj (10/22/2008)


    Thanks for your reply.

    But i need the following result:

    For each user i have to compare the stop time of 1st row with start time of 2nd row...

    kshitij kumar
    kshitij@krayknot.com
    www.krayknot.com

  • RE: Procedure proble.

    Pravin Patel (10/22/2008)


    DECLARE @v1 AS NVARCHAR(30)

    SET @v1 = '1,2,3'

    PRINT ('select * from user_login_dtl where CAST(login_type_id AS NVARCHAR(10)) in (' + @v1 +')')

    SELECT * FROM user_login_dtl WHERE CAST(login_type_id AS NVARCHAR(10)) in...

    kshitij kumar
    kshitij@krayknot.com
    www.krayknot.com

Viewing 15 posts - 271 through 285 (of 321 total)