MTM2.com

A forum for mtm2 discussion
FAQ :: Search :: Members :: Groups :: Register
Login
It is currently Fri Nov 29, 2024 4:56 am



Post new topic Reply to topic  [ 19 posts ] 
Author Message
 Post subject: Hey all.
PostPosted: Tue Jun 16, 2009 3:01 pm 
Member

Joined: Tue Jun 16, 2009 2:59 pm
Posts: 5
How you all been? Where do you guys play mtm2 now? RGO seems empty, and it's gone off WGC!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 16, 2009 4:44 pm 
Member
User avatar

Joined: Sun Oct 16, 2005 4:39 pm
Posts: 1822
Location: Winnipeg Manitoba, Canada
no one tell him where we are.

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 16, 2009 5:52 pm 
Member
User avatar

Joined: Sun Jun 08, 2008 7:46 am
Posts: 702
Location: In BinEdit, using YOUR models.
...


Last edited by TlathamXmahtalT on Tue Jun 16, 2009 7:58 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 16, 2009 5:55 pm 
Member
User avatar

Joined: Sun Oct 16, 2005 4:39 pm
Posts: 1822
Location: Winnipeg Manitoba, Canada
Nooooo the hacker knows where to find us.

_________________
Image


Last edited by Slayer on Fri Jul 03, 2009 8:41 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 22, 2009 6:02 am 
Gone Walkabout
User avatar

Joined: Tue Jan 25, 2005 10:35 am
Posts: 665
Long time no see.
How you going Germ?

_________________
Tournament Host:
MTM2
http://www.mtm2tournaments.com
http://www.mtm2online.com
Evo1
http://www.evo1online.com


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 03, 2009 8:34 pm 
Member

Joined: Tue Jun 16, 2009 2:59 pm
Posts: 5
Slayer, I thought you'd grow up by now, but seems your still the same dumbass I met a couple years ago. If you don't have anything nice to say, don't say anything at all.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 03, 2009 8:40 pm 
Member
User avatar

Joined: Sun Oct 16, 2005 4:39 pm
Posts: 1822
Location: Winnipeg Manitoba, Canada
Heh, Don't I nearly double your age? Both mentally and physically?


Anyways, hate is timeless, you both *beep* me off and betrayed me, I am well within my right to hate you.

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 03, 2009 8:47 pm 
Member

Joined: Tue Jun 16, 2009 2:59 pm
Posts: 5
I betrayed you? Go ahead and hate over the internet, you think your smarter and wiser, but your not, I been looking at your programming and their all basic programs, you haven't improved a single bit. Keep thinking I betrayed you though. When your smarter than me and can code better than me then I'll respect you, as for now, your still a joke. :D

By the way, say I can't code? You can visit me at my site: http://hackhound.org ... && now it isn't a hacking site, it's a programming and malware analysis site. My nick is carb0n there. ;) Send me a message there if you need help with your simple vb6 apps ;)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 03, 2009 9:07 pm 
Member
User avatar

Joined: Sun Oct 16, 2005 4:39 pm
Posts: 1822
Location: Winnipeg Manitoba, Canada
I haven't coded any of my personal apps in ages :). Been working in the banking industry now for 2 years.

Also I am not entirely sure what my ability to code as to do with my intelligence. Meh. So what do you do for a living then? Last I saw you, you were bent on ruining MTM2 for everyone, how have you changed then?



And well actually if u wanna help, perhaps you can help with this.


Quote:
My problem is simple. The first character of a piece of data in a column may be invalid. I need a script to fix it. Preferably not using a stored procedure.


My first idea was this
Update Service10
Set LN_SmString2 = ('M' + RIGHT((Select LN_SmString2 From Service10),Len(Select LN_SmString2 From Service10) - 1)))
Where LEFT(LN_SmString2,1) <> 'M' or LEFT(LN_SmString2,1) <> 'S' or LEFT(LN_SmString2,1) <> 'D'

I've bolded the specific problem, how do I tell it which row to grab the data, the select and the update need to be looking at the same row for this to work.

If there is an easy solution to this, I'd like to know.

Otherwise, my solution would be using a variable and a curser. That should work fine EXCEPT I only know how to use variables and cursors in stored procs. I again, don't want a stored proc, just a single use script. Online help is not very helpful for some reason with this issue, so help would be appreciated.

The jyst of this script is this.

If the first characters is not M, S, or D, then make it M. All characters after that must remain the same. It is a 30 character CHAR and each character represents something to the system.

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 04, 2009 2:24 am 
Glow Ball
User avatar

Joined: Tue Feb 02, 1999 7:00 pm
Posts: 23
GermReturns wrote:
Send me a message there if you need help with your simple vb6 apps


It may take me a while to get over there. Meantime, I can use all the help I can get with my simple vb6 apps. Drop by here and maybe you can impart some wisdom ;-)


http://mtm2.com/chat/


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 04, 2009 11:08 am 
Member
User avatar

Joined: Sun Oct 16, 2005 4:39 pm
Posts: 1822
Location: Winnipeg Manitoba, Canada
now i just gotta wonder what yoru having trouble with in VB6 :). Cause internet is awesome for help, there is a crap lot of help out there, for almost everything. DevX has a crazy amount of prewritten code for you too, to just drop in place and use.


I wanna learn assembly :)

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 04, 2009 11:15 am 
Member
User avatar

Joined: Sun Oct 16, 2005 4:39 pm
Posts: 1822
Location: Winnipeg Manitoba, Canada
Ah dang, turns out my SQL was out in left field, guy a tech republic fixed it up for me :)

Code:
Update Service10
Set LN_SmString2 = 'M' + SubString(LN_SmString2,2)
Where LN_SmString2 Not Like '[MSD]%'

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 05, 2009 5:48 am 
Glow Ball
User avatar

Joined: Tue Feb 02, 1999 7:00 pm
Posts: 23
Code:
if (SubString(LN_SmString2,2) == 'valid') {
  Update Service10
  Set LN_SmString2 = 'M' + SubString(LN_SmString2,2)
  Where LN_SmString2 Not Like '[MSD]%'
}
else {
  print qq(scorn and abuse);
  Don't bother ;
  aka exit ;
}


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 05, 2009 9:51 am 
Member
User avatar

Joined: Sun Oct 16, 2005 4:39 pm
Posts: 1822
Location: Winnipeg Manitoba, Canada
lol I don't think that would actually work, considering there are no braces or "==" in T-SQL.

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 05, 2009 8:49 pm 
Glow Ball
User avatar

Joined: Tue Feb 02, 1999 7:00 pm
Posts: 23
It's z-notation ; it's meta code.


:P


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 06, 2009 12:47 pm 
Member
User avatar

Joined: Thu May 31, 2007 12:19 am
Posts: 130
Location: 3 hours from Alaska
i think my brain just seized :?

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 10, 2009 11:33 am 
Member
User avatar

Joined: Fri May 11, 2007 9:29 pm
Posts: 142
Location: With parents
woah, same here.

_________________
crash king
I like mopar
"there's no problems except the brakes. you see they only work on that wheel.....they work very well on that wheel....but only on that wheel." -Richard Hammond(top gear)
Image


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 10, 2009 12:26 pm 
mtm2 rocks!
User avatar

Joined: Mon Nov 28, 2005 11:34 pm
Posts: 602
Location: Brockton, Massachusetts
JerOutlaw wrote:
i think my brain just seized :?


Same here! :?

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 23, 2009 2:50 pm 
Member
User avatar

Joined: Wed Jul 22, 2009 12:47 pm
Posts: 58
Location: Oregon
Ditto

_________________
Mac TV


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ] 


Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group