Viewing 15 posts - 1 through 15 (of 30 total)
January 17, 2017 at 1:15 pm
January 17, 2017 at 11:32 am
January 17, 2017 at 10:34 am
January 17, 2017 at 10:29 am
Wow thanks Luis!!
I like both, but will probably use the FOR XML option!
-James
March 14, 2014 at 1:46 pm
Thanks!
Here you go...
CREATE TABLE DBA.Items(
strBBranchCode_FD CHAR(2) NOT NULL DEFAULT '',
lFFoldNo_FD INT NOT NULL DEFAULT -1,
nFiFoldItemID_FD SMALLINT NOT NULL DEFAULT -1,
strFiPaxName_FD CHAR(100) NOT NULL,
strFiTktNo_FD CHAR(100) NOT NULL,
strFiBookingRef_FD CHAR(100) NOT NULL,
PRIMARY KEY...
March 14, 2014 at 1:19 pm
Thanks guys...
My select * was just an example. I was actually selecting using a coalesce - COALESCE( C.ClassName_FD, C2.ClassName_FD, '' ) etc. Basically getting the class from the...
February 4, 2014 at 1:41 pm
Ah yes Luis... That worked a treat!
Thank you - much appreciated!
James
January 8, 2014 at 1:27 pm
Thanks MM, a nice alternative. I have learned a lot about STUFF and FOR XML this week thanks to you guys!
November 16, 2013 at 1:00 pm
Wow... I am blown away by the support I receive from you guys! You are one smart cookie Lowell! Thanks for enlightening me on this cold evening 😀
November 15, 2013 at 1:21 pm
Sorry... as you can see I am no expert!
I believe the the use of no lock is due to the usage of the function that is being called in a...
November 15, 2013 at 1:00 pm
Apologies everyone...
Basically I have a table that contains the names that relate to the bookings in the database. I booking can consist of a single passenger or multiple passengers....
November 15, 2013 at 12:44 pm
Sorry, I didn't make myself very clear did I...
The passenger list will vary every time in both the names and number of passengers, so I need to somehow find the...
November 15, 2013 at 12:24 pm
Thanks, I get the bigger picture now, but what is the "values" part doing? Why the 6 "(1)" records and the significance of the a(x) and b(x)? Sorry for being...
October 25, 2013 at 9:02 am
Wow that is brilliant thanks MM!
I have never used the APPLY operator before, but it works perfectly. I would love to say that it all makes perfect sense to...
October 25, 2013 at 8:13 am
Viewing 15 posts - 1 through 15 (of 30 total)