Forum Replies Created

Viewing 15 posts - 3,406 through 3,420 (of 4,087 total)

  • RE: HTML using XML PATH

    The problem is this line here:

    CAST ( ( SELECT td='<a href=''http://ABC:7777/XYZ/TYPE/EditForm.aspx?ID=0&UID='''+CAST(ACTIVITY_UID AS VARCHAR(36))+'''''>'+ACTIVITY_NAME+'</a>','',

    Because you have given it an alias ("td") it treats the data as text instead of XML....

  • RE: Dropped Column Name resolution..

    ulteriorm (12/20/2011)


    I suspect the bind phase of query execution is trying to resolve the stores table data, and since it could not find the Info column, it threw an error.

    This...

  • RE: SQL server 2005 and crystal report

    This sounds like it might be due to differences in the language settings between the various computers. To prevent these kinds of problems, you want to make sure

    * ...

  • RE: Chaging the values of a date column to an other type

    Formatting should be left to the presentation layer, because it can vary depending on the language or user preferences. Dates should be stored with the DATE datatype, so that...

  • RE: I want create a XML File using the T-sql for below format

    unnati.patel513 (12/20/2011)


    yes i lookng for something like that.. when you click value in column it will open the xml coding in SSMS..

    This will happen automatically in SSMS for anything that's...

  • RE: Dropped Column Name resolution..

    There is actually another possibility, but it's highly unlikely.

    Your table is set up with case sensitive column names and you have another column in that same table that differs only...

  • RE: Dropped Column Name resolution..

    ulteriorm (12/20/2011)


    I am pretty sure that we have only one Stores table;

    I'm pretty sure that you do and the fact that you are only "pretty sure" and not positive indicates...

  • RE: How to achive this output

    Narud (12/20/2011)


    Sami,

    I'm a little bit confused about the field names and the content of your sample code, but I think that this would give you a near result to your...

  • RE: Dropped Column Name resolution..

    You probably have two tables named "stores" under different schemata. Adding a condition for Table_Schema should fix the problem.

    Drew

  • RE: Hierachy query

    The problem is that your hierarchy is improperly modeled. Your structure is incomplete. You have node data and depth data, but you don't have the information about how...

  • RE: I want create a XML File using the T-sql for below format

    He's confusing the UI (SSMS) with the database. SSMS will display XML results as clickable text when using the grid display.

    Drew

  • RE: Look Back Through Records to Apply Funds Approriately

    You want to totally scrap your method and start over using a set-based approach. CURSORS are as slow as molasses in January.

    This is essentially a reverse running total. ...

  • RE: How to get the value NULL in place of 1900-01-17

    Your Current_Stmt_Date is coming in as a BLANK not NULL. Your DateAdd is converting the BLANK to 1900-01-01 and then adding 16 days to it to get 1900-01-17. ...

  • RE: How to achive this output

    sami.sqldba (12/19/2011)


    Please can anyone say which would be the best possible join can be used to get the task.

    You should be able to answer this for yourself. Ask yourself...

  • RE: Convert an interger to year month and days

    SQLQuest29 (12/16/2011)


    But my problem is that the data is integer and I get it as 465, 356, etc .. I need to convert it into meaning full data.

    You're going to...

Viewing 15 posts - 3,406 through 3,420 (of 4,087 total)