Forum Replies Created

Viewing 15 posts - 1,411 through 1,425 (of 2,894 total)

  • RE: Need help in build Search for multiple columns based on keywords

    I'm not going to write the sample query as there are a lot of them if you google.

    I can give a bit more detailed steps of what you will...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Calculate ABC category

    You should read the article (link at the bottom of my signature) about how to present questions like that to help your helpers to help you 😉

    create table #MyDataTable (...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Stored Procedure error

    okbangas (6/18/2012)

    ... Btw, I do hope you did not actually post an adminstrator password?

    It does look like the real one to me...

    So, need an IP address and off you go!

    :w00t:

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Need help in build Search for multiple columns based on keywords

    Full-text search.

    You will need to create the view which will hold the concatenated value of columns you want to search by. Then create Full-Text index on this column and you...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: ARRAYLIST Dataset

    What do you mean by "arraylist"? There is no such object/data type in SQL server. It's not c#!

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Query Help

    -- return records from T1 if no records exist in T2

    SELECT t1.id,

    t1.Field1,

    NULL as Field2

    FROM T1

    WHERE NOT EXISTS (SELECT 1 FROM T2)

    UNION ALL

    -- return records from T1 JOINED to T2

    SELECT...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Can you use full text contains to match two similar fields in two seperate tables?

    You can do it with FT. But it may not be fast enough for you, it's really depends...

    You will need to use CONTAINSTABLE to get the best match based...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Query Help

    Give me all records from T1 if there is no join on T2, else just return records where they exist in both tables?

    What? Return records from T1 only or from...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Read Windows Directory - error

    every line where you have

    RETURN

    should return the table variable.

    Make sure you have the same before function end.

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Read Windows Directory - error

    Change the last line to :

    RETURN @MyDir

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Read Windows Directory - error

    It's in line before the INSERT. You have used wrong type of single quote. Copy this one in:

    SELECT @strErrorMessage = 'Error whilst ' + COALESCE(@strErrorMessage, 'doing something')+ ',' + COALESCE(@Description,...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Programmatically creating a table alias

    There is no such object In SQL Server as Table Alias, so you can not create it by any means.

    Could you please provide a bit more details about what...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: checking for strings in open row set

    You need to double your single quotes.

    ... like ''sbrpt%'' and c.path not like ''%Subreport%'''

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Is Oracle DBA is nore harder than SQL DBA

    Yeah, have you tried tools for working with Oracle?

    After SQL Server you will not like it! In last years they became much better but still far away from SQL ones.

    Plus,...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Read Windows Directory - error

    Line:

    IF @hr 0

    misses "="

    BTW, your code looks like pot of Singaporean noodles 🙂

    Try to format you code so it's easier to read. When posting to forum you can use code="sql"...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

Viewing 15 posts - 1,411 through 1,425 (of 2,894 total)