Forum Replies Created

Viewing 15 posts - 871 through 885 (of 1,479 total)

  • RE: Trim tables with dynamic Sql

    Lowell (8/10/2009)


    Adi I read the requirement as he alreyad changed the columns from char to varchar, and now wanted to remove trailing spaces:

    Note, the length of the data type should...

  • RE: Try/Catch in Cursor It Breaks after failure

    If you want that your code will continue to run in case of a runtime error instead of getting to the catch block, you’ll have to delete the catch...

  • RE: Trim tables with dynamic Sql

    You can run the select statement bellow that will produce the alter table statements for you. Notice that this will do only part of the job. For example...

  • RE: Different results using CONTAINS and LIKE

    I don’t think that you can use contains to get the same information that you got on your other query that used the like operator. The main problem is...

  • RE: DTA (database tuning advisor) tool

    This changes the picture completely:-). Express edition doesn’t have DTE as part of the installation. Unfortunately I don’t know about a free tool that does the same...

  • RE: DTA (database tuning advisor) tool

    The database engine tuning advisor is also called DTE and it is installed with the server. You can activate it from management studio. From the menu you have...

  • RE: compare two column of a table

    Jeff Moden (8/9/2009)


    Ordinarily, I'd agree with getting the OP to present data in a more readily consumable format according to the link provided above. However, this is Nica's first...

  • RE: Query help??

    How do you connect eventide to MeasuerID? Is it only by inserting order? Also how did you get the values for EventMeasureID?

    Adi

  • RE: compare two column of a table

    I’m sorry, but I can’t understand your request. Pleas take the time to read the article in my signature. The article explains how to post a question...

  • RE: Formatting issue with a calculated value

    You can do it with a comibnation of string functions such as charindex and reverse, but the question is why do you want to do it in the database? ...

  • RE: How to release the free space present in Database data file to OS

    You can shrink the file by using the command DBCC shrinkdb or DBCC shrinkfile (You can read about it in BOL). You can also do it with the GUI...

  • RE: XQuery syntax to flatten Xml

    I didn’t know that I can get to an element that is not part of the XML that the nodes method produces. Although I’m not the original poster, this...

  • RE: DBCC REINDEX

    If the table is a small table (less then 8 pages), then it is located on shared extent. Shared extent stores pages of few small tables that each one...

  • RE: what collations you use?

    It also depends on the place of living. For example in Israel there is a need to store Hebrew characters without using Unicode, so you can find servers that...

  • RE: Backup and Restore Tables

    As far as I know, there isn’t any DBCC REPAIR_ALLOW_DATA_LOSS command. The REPAIR_ALLOW_DATA_LOSS is one of the possible instructions to the server of what to do in case...

Viewing 15 posts - 871 through 885 (of 1,479 total)