Forum Replies Created

Viewing 15 posts - 241 through 255 (of 1,114 total)

  • RE: Is there a function which determines if a varchar is a number?

    How about this code?

    Declare @Str varchar(30)

    select @Str = 'karTHI&%@#123'

    select substring(@Str,N,1),ascii(substring(@Str,N,1)) as AsciiValue,

    case when (ascii(substring(@Str,N,1)) >= 65 and ascii(substring(@Str,N,1)) = 97 and ascii(substring(@Str,N,1)) <= 122)

    ...

  • RE: TSQL

    I ran this script it in sql2000. it is working fine. it shows 1,2,3,4,5,6. so the correct answer is c.

  • RE: TOP vs SET ROWCOUNT -- Are they Twins?

    I did a small R&D between TOP and SET ROWCOUNT.

    Here is my R&d work.

    create table test

    (

    no int,

    name varchar null

    )

    go

    insert into test1 values(1,'a')

    insert into test1 values(2,'d')

    go

    create table test1

    (

    no int,

    name varchar null

    )

    go

    insert...

  • RE: CONVERT :( --> :) - Strange query same result

    I mean how many bits or bytes will be allocated to each statements? which one will take more space?

  • RE: CONVERT :( --> :) - Strange query same result

    Thanks Chris!

    I want to know how sql memory will be allocated for those 3 statements? How sql optimizer process the above queries?

  • RE: Which country is best for Outsourcing?

    lmu92 (3/23/2009)


    I'm just wondering:

    is your question related to the country to outsource from or to outsource to? :hehe:

    Aside of that, you're normally not outsorcing to a country but to a...

  • RE: Which country is best for Outsourcing?

    Jeff Moden (3/23/2009)


    karthikeyan (3/23/2009)


    All,

    Which country is best for outsourcing? I believe i will get some interesting answers.

    Why do you want to know?

    Well, I wanted to know which country (overall thought)...

  • RE: Finding Missing Date

    A small help,

    if i found any msiing data between the range,then i have to insert that date into the table.

    say for example,

    2009-01-05 00:00:00.000 2009-01-05 00:00:00.000

    2009-01-06 00:00:00.000 2009-01-06 00:00:00.000

    2009-01-07 00:00:00.000 NULL

    2009-01-08...

  • RE: Slow performing select statement on large table

    post the query too.

  • RE: Problem whit insert into table.

    Can you post the insert statement that you executed?

  • RE: Slow performing select statement on large table

    Which index you applied few months back?

    Is there any other indexes available for the table?

    Post the following here.

    1)Table structure with all the available indexes.

    2) Query

  • RE: Problem whit insert into table.

    Try this one

    Insert into personal (chef_id,lonekat_id,fornamn,efternamn,titel)

    VALUES (null,1,'Gökhan','özkanat','Kung')

    it will work.

  • RE: Problem whit insert into table.

    Try this statement

    Insert into personal (chef_id,lonekat_id,fornamn,efternamn,titel)

    VALUES (1, 1,'Gökhan','özkanat','Kung')

    it should work.

    Because you have referred personal_id column value to chief_id, so what is the general rule of foreign key? Foreign key value...

  • RE: Excel Result Vs DB Result

    Sergiy (3/17/2009)


    Kartik,

    with a little bit of effort from your side you could easily transform "string concatenation" function (which you already copied from this forum) to "float multiplication" one.

    "string concatenation" function...

  • RE: computed columns

    Execution plans in my box.

Viewing 15 posts - 241 through 255 (of 1,114 total)