Forum Replies Created

Viewing 15 posts - 436 through 450 (of 1,082 total)

  • RE: Missing data rows?

    what happens when you run a select * from SSMS? (are there still no rows)

    If this is only happening from the .NET side have you tried running a trace to...

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: Simple query taking 15s to complete ...

    I agree with the others.

    Have some more questions.

    What are the actual speeds that are showing across the line? perhaps there is conjetion.

    Also is this the only query where you have...

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: Simple query taking 15s to complete ...

    I guess we gonna have to ask for the execution plan.

    I did notice that you don't have a covering index for OrgId, OrgName

    but lets see what the plan says...

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: Simple query taking 15s to complete ...

    is a query in access? or is it a dynamic string run via ADO?

    Also what are the connection speeds between your access app and the SQL server?

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: cannot understand why query analyzer is picking a specific index.

    HI Gail,

    Thanks again,

    I have just created a few tables and played around with different data selectivity and with the columns being returned. I tried to work out before running the...

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: cannot understand why query analyzer is picking a specific index.

    Hi Gail,

    After the first seek is done are the other filters done on the index or resultant dataset return from the first filter(Index seek)

    Also I guess I need to ask,...

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: cannot understand why query analyzer is picking a specific index.

    what are the statistics on those indexes?

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: Incorrect Default Date

    Also could you post the queries that you expect are giving diff results.

    With samples of how the results are different. 🙂

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: can stored procdure call inside the user defined function

    Also here is another way to do what you doing:

    DECLARE @strSKU VARCHAR(20)

    SET @strSKU =...

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: Is Nested Cursors Possible ???

    mmm

    I wish I could lie to you , but yes it is possible, but as most people here will tell you, you should avoid using cursor and definitely avoid nested...

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: Begginer Question

    Welcome to SQL servercentral 🙂

    Please click on the link in my sig for help on how to post to get the best results.

    could you give us some sample data and...

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: can stored procdure call inside the user defined function

    you would call it the same way you would if it was outside of a stored procedure.

    What kind of function is it.

    If you show us the function we can show...

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: Sqlserver Joins

    The concept of Merge Join IS also used in SQL Server.

    Here is a link to BOL

    http://msdn.microsoft.com/en-us/library/ms141775.aspx

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: Completing zeroes to a field

    I guess it just depends how he wants his output?

    Does he want a value of length 16 or is the max length 16?!?

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life
  • RE: Completing zeroes to a field

    could you give us some examples please.

    What would you expect to be returned from the following

    12345678 = 0000000012345678?

    123 = 00000000123 or 0000000000000123

    0 = 000000000 or 0 or 0000000000000000

    etc...

    Thanks

    Chris

    ----------------------------------------------
    Try to learn something about everything and everything about something. - Thomas Henry Huxley

    :w00t:
    Posting Best Practices[/url]
    Numbers / Tally Tables[/url]

    SQL-4-Life

Viewing 15 posts - 436 through 450 (of 1,082 total)