| Author |
Topic |
|
Bex
Aged Yak Warrior
580 Posts |
Posted - 2005-03-02 : 06:01:03
|
| Are there ways to format the result of a query? I am generating a report, and need to include some title text. I can do:SELECT 'Title of Report'But it is a bit crude so was wondering if anyone can direct me to information regarding formatting output?? Thanks in advanceHearty head pats |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2005-03-02 : 07:23:09
|
well sql server is used for retrieving data not formating it.you can doSELECT 'Title of Report'SELECT other stuff form data which will return 2 dataTables in a Dataset (ado.net)the you can use those datatables to get data and properly format it.Go with the flow & have fun! Else fight the flow |
 |
|
|
Bex
Aged Yak Warrior
580 Posts |
Posted - 2005-03-02 : 07:38:37
|
| Thanks Spirit1!! Great name by the way!Hearty head pats |
 |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2005-03-02 : 07:39:22
|
thanx.which one? my nick or my real name?Go with the flow & have fun! Else fight the flow |
 |
|
|
Bex
Aged Yak Warrior
580 Posts |
Posted - 2005-03-02 : 08:02:53
|
| Your nickname! I do have a nickname, but I choose not to use it as it not really that flattering! My friends kindly gave it to my over 12 years ago, and it has stuck ever since! Gotta love your mates!Hearty head pats |
 |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2005-03-02 : 08:07:55
|
BexyBoodle.... Go with the flow & have fun! Else fight the flow |
 |
|
|
Bex
Aged Yak Warrior
580 Posts |
Posted - 2005-03-02 : 09:08:19
|
| Ha ha ha, actually, that is one of them, but one of the nicer ones!!!??!!?! Ok, I shall tell you the name, but it may not make any sense to you:When at 6th form, me and a group of friends would chill out together and always end up at the local chippie or 24 hour garage to get food. I love my food and have a big appetite, so would order more than most. There was this film that we had recently watched called time bandits, where lots of little dwarfs steal a map from God and use it to travel through time and nick stuff from, for example, Napoleon. Anyway, one of the dwarfs is called 'vermin' and he is always eating. In one scene, they all fall through a time hole and into a barn, where vermin tries to eat a chicken. Another dwarf shouts 'VERMIN...will you stop eating!!!!' Hence, the nickname was given to me one night when we were all wasted!!!! Hearty head pats |
 |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2005-03-02 : 09:26:39
|
ROTFL!!! nice anecdote... boy we sure could share stories about that....Go with the flow & have fun! Else fight the flow |
 |
|
|
Bex
Aged Yak Warrior
580 Posts |
Posted - 2005-03-02 : 09:35:14
|
| Its amazing how creative one can be when wasted! Oh the memories of the olden days.................Hearty head pats |
 |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2005-03-02 : 09:38:25
|
have you ever tried writing code while a bit under influence?that's what i call abstract... ahh the memories ... Go with the flow & have fun! Else fight the flow |
 |
|
|
Lumbago
Norsk Yak Master
3271 Posts |
Posted - 2005-03-02 : 10:55:45
|
Hey, you shouldn't worry too much about unfortunate nicknames. Allthough I chose my own out of free will I'm pretty sure we can all agree that Merkin by far has the best one. Google it and you'll see --Lumbago"Real programmers don't document, if it was hard to write it should be hard to understand" |
 |
|
|
Bex
Aged Yak Warrior
580 Posts |
Posted - 2005-03-03 : 04:54:19
|
| Is Merkin Spirit1???? Because I googled Spirit1, and I hate to say this Merkin (if that is your name), but second option from the top, and the one that stood out the most was:SPIRIT1Painter of gay men.Incidently, why Lumbago?Hearty head pats |
 |
|
|
Lumbago
Norsk Yak Master
3271 Posts |
Posted - 2005-03-03 : 05:26:55
|
   I'm laughing my a$$ off here Spirit and Merkin are not the same person and I have never googled Spirit1 until now. Priceless...just priceless!Oh, and Lumbago? Well...I just love the sound of that word... --Lumbago"Real programmers don't document, if it was hard to write it should be hard to understand" |
 |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2005-03-03 : 05:34:15
|
ok this is hillarious... no, my name isn't merkin. and i'm also not a painter of gay men... ROTFL!!!Bex you just made my day. this is going to sound great when i go for a beer tonight and i tell this to my gang.this is merkin:http://www.sqlteam.com/forums/pop_profile.asp?mode=display&id=177EDIT:hahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahaGo with the flow & have fun! Else fight the flow |
 |
|
|
Bex
Aged Yak Warrior
580 Posts |
Posted - 2005-03-03 : 06:04:21
|
Lol, Oooooh, I see! Well, don't I feel stupid!! DOH! But always glad to cause amusement! I agree Lumbago rolls off the tongue, but it actually has a meaning (in the dictionary): 'Pain in the lower region of the back'Anyway, you can tell I have far too much time on my hands!!! Have a beer for me tonight(it was my birthay yesterday.....and my heads a little sore from all the wine)!!Hearty head pats |
 |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2005-03-03 : 06:06:41
|
well thenHAPPY BIRTHDAY BEX!!!!!!!!!!!!!which one is it.. 29th?Go with the flow & have fun! Else fight the flow |
 |
|
|
Bex
Aged Yak Warrior
580 Posts |
Posted - 2005-03-03 : 06:10:27
|
| Ahhhh bless you! Thanks! And yep, it is my 29th! (and I don't look a day older than 24.... cough cough!)Ok, this is REALLY sad, but I just googled my name and here are a few of the results:1) I am a country in France2) I am a type of spray nozzle3) I am also a rock concert!!!Wow, I never knew I had so many dimensions!Hearty head pats |
 |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2005-03-03 : 06:28:22
|
hey what are you complainging about.... i'm a painter of gay man..... Go with the flow & have fun! Else fight the flow |
 |
|
|
Bex
Aged Yak Warrior
580 Posts |
Posted - 2005-03-03 : 06:42:22
|
Lol, thats true!! Hehehehe! I like the idea of being a country! Hearty head pats |
 |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2005-03-03 : 07:22:46
|
yeah so one can conquer you and i think it's a county not a country.Go with the flow & have fun! Else fight the flow |
 |
|
|
Bex
Aged Yak Warrior
580 Posts |
Posted - 2005-03-03 : 08:15:48
|
Yes, you are so right (i was just trying to make it sound better than it was). I am not totally adverse to being conquered though!! But that is dependent on the conqueror!! Hearty head pats |
 |
|
|
Next Page
|