php - SQL Server cast to text datatype -


Did someone help me with SQL Server CAST with text datatype Can do? I'm trying to get long text to use the CAST function, but if I'm recovering from the table more than 1, then it would be wont I might have made a description incorrectly.

$ from $ 'Real Estate AS RE, Model AS M, Catalog AS C'; Select $ = 'Cast (Information as Retail Details) as RE, Description, RE Postcards, RE Siberb, M.Modelnam, M. Modellid, R.A. Hausid, RE Contact, RE . Address, RE.Street, RAPE, RE Road, RE Citid, R.A. Fixed '; $ Query = mssql_query ("Select Intra $ Select from Real Estate as RE, M as the same model RE.HouseID = $ hid and RE.ModelID = M. ModelID"); I understand that you can not add wires within the mssql_query block - I don 'see, depending on the things you have provided, actually looking at its requirement. If you want to add a dynamic SQL statement, then select it like mssql_query function:

  $ select $ 'select cast cast (again. In details) as a description, post again, again. Robert, M. Modellenam, M. Modiolid, Rehausid, Ricentatam, R. contactphone, re.planname, re.address, re.street, re.price, re.Stitono, Racketite, Re: Re-fixed Alstate Re-join model M on M. Modelle = Ri. Where Modellid Re: Haussid = $ hidden "$ query = mssql_query ($ select);  

Comments