Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. astromenix

    Place "XML" Inside a Varchar Using FORXML

    thanx james but i dont hink it will work for me.. cos i need two dimentional array each row to contain one period and need two of them arrays | periodfrom | period_to | | date | date | | date | date |...
  2. astromenix

    Place "XML" Inside a Varchar Using FORXML

    I just found on the MSDN that FOR XML is not valid in subselections Guidelines for Using the FOR XML Clause[shadessad]
  3. astromenix

    Place "XML" Inside a Varchar Using FORXML

    Hi everyone I got a stored proc that is getting pretty big, and at this point I got some repeated functionality, which sounds like I need to create a UDF or a stored proc and call it from my main proc. Wot I want to achieve is pass to the function two sets of periods For exaple: FROM...
  4. astromenix

    table variables in stored procs

    hello everyone and thanx Pattycake245 for yr answear(really apreciate this). the things ia that i can perform the calculation using only a select . for example a search request may have one to four rooms, each room may have one to five children and their ages.Now for each room and each childen...
  5. astromenix

    table variables in stored procs

    Ii’d like to rephrase my question I must return a similar result as the expedia’s searc for hotels. Is it a good idea to select all the rooms and their prices by filtering them by dates and other criterias and them results to store em in table variables and then while I loop for each room and...
  6. astromenix

    table variables in stored procs

    hello, I m in the situation that I got to calculate room prices for given periods and depending on their occupancy generate different prices and then apply discounts on each day. So I need at some point, when i get data of different tables to loop through each date from check_in and check_out...
  7. astromenix

    database design - keep dublicate data in seperate tables

    Hi again and thanks a lot for your replies. TNow the rates have two characteristics (keys) one taken of the physical room (each hotel has different types of physical rooms) and another key taken of a period. Now the same room also can have different rates. For example A 3 bed room (occupancy)...
  8. astromenix

    database design - keep dublicate data in seperate tables

    Hello everyone My situation is that I m workin on this project that is about a travel management system. Now at the administration part, we have set up the tables n screens to collect the data for the types of rooms, periods, their discounts, and the rates that will b bought n sold. One of the...
  9. astromenix

    XmlElement to string...how to?

    Hello, I ve got a web service that accepts XmlElement as an input parameter. Then within my web method i would like to convert it to sting and then pass the string to my the stored procedure and use OPENXML to insert the values to SQL Server. [WebMethod] public string...

Part and Inventory Search

Back
Top