Forum Replies Created

Viewing 15 posts - 10,546 through 10,560 (of 15,374 total)

  • RE: insert rows

    Or you could try this undocumented procedure.

    exec Insert1000RowsInATableWithoutAnyLoop

  • RE: Help with storing timezone

    Guras (9/28/2012)


    I could but there are certain zones in US that does not adjust the tiem for daylight savings.

    Well now there are new rules to your issue. I would not...

  • RE: Help with storing timezone

    Guras (9/28/2012)


    I am trying to store the EST as CST , PST as CST.

    The time value coming from the web application are in their local time zone but ned...

  • RE: Help with storing timezone

    Guras (9/28/2012)


    I have a web application where the users will be entering time based on the different time zones there are in e.g. EST, CST, MST,PST etc...

    My server is in...

  • RE: Function many arguments specified ? Need help . thanks.

    SQL_path (9/28/2012)


    Sean Lange (9/28/2012)


    Can you post the actual values for your string and the EXACT error message. I don't see anything that would cause an error but I don't really...

  • RE: Function many arguments specified ? Need help . thanks.

    Can you post the actual values for your string and the EXACT error message. I don't see anything that would cause an error but I don't really know what the...

  • RE: Function many arguments specified ? Need help . thanks.

    Not enough details to provide much of an answer. What is in @orders? What does the split function look like?

    I would recommend using the splitter found in the article...

  • RE: Conversion failed when converting from a character string to uniqueidentifier.

    The problem is because you have a list of numbers and you are trying to compare that to a uniqueidentifier.

    You insert this into a table.

    ('101038, 101039, 101040, 101044')

    INSERT INTO @Tmp...

  • RE: Best way to effienctly store hugh amounts of data

    What you are describing is what is known as EAV (Entity Value Attribute). This is a horrible design in almost every sense of the word. There are a few cases...

  • RE: link server

    Using the text right in your error message...

    "Full Error Text

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

    SQL1031N The database directory cannot be found on the indicated file system.

    Explanation: The system database directory or local database directory could...

  • RE: Sorting multiple columns in various sort directions in a case statement

    Take a look at this article by Gail about catch-all queries. Your situation is not exactly the same but you can modify the logic presented to handle your complicated sorting...

  • RE: SQL Server 2005 64 bit vs 32 bit

    jrichards54 (9/27/2012)


    "Let me know if that code works for you. If not I can probably help tweak it into submission."

    I have created a database in ACCESS and named it "ConnectionTest.mdb"...

  • RE: How many nested IF ELSE supported in SQL 2012

    vivekkumar341 (9/27/2012)


    instead of having multiple if blocks, can't you use switch statements?

    There is no switch statement in t-sql which I suspect is why there are so many nested if-else conditions.

  • RE: Table Relationships

    SQL_Loser (9/27/2012)


    I have questions regarding foreign key and about parent-child relationship:

    1.What is the purpose of self referential foreign keys ? or why do we create it?

    2.In a many to...

  • RE: insert rows

    harri.reddy (9/27/2012)


    hi

    i want to insert 1000 rows in a table without any loop.

    how can i do it?

    Start with the first link in my signature.

Viewing 15 posts - 10,546 through 10,560 (of 15,374 total)