Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
R

RGTuffin

@RGTuffin
About
Posts
4
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Replace function
    R RGTuffin

    Not ideal, but you can nest the replace statments for a quick fix: replace(replace(replace(replace('Smith (Hon. Member)John','(',''),')',''),'.',''),' ','') produces: SmithHonMemberJohn otherwise you could always write a function to remove any non alphanumeric characters. I don't know of any pattern matching within the replace statement though.

    Database database question sql-server sysadmin help

  • Matches from 2 tables
    R RGTuffin

    Probably more than one way to go about something like this, and none of which are really very clean. Basis of anything is, that if 1441 matches the start of the mobile number then it can't be 1 for U.S. You could match these back in 4 iterations, starting with the 4 digit codes first, then exluding what you had matched when you do your 3 digit matches and so on. You could code this on the fly, but would overcomplicate it really, could you add another field onto your text_status table, and update it with the iddcode where you get a match on all 4 digit iddcodes. Then update the field with all matching 3 digit iddcodes where the field is still null, then 2 digit, then 1 digit.

    Database help tutorial question

  • COUNT PROBLEM
    R RGTuffin

    could you use =SUM(IIF(fields!GENDER.value = "MALE", 1, 0)) =SUM(IIF(fields!GENDER.value = "FEMALE", 1, 0))

    Database database help

  • select max(string)
    R RGTuffin

    If you stored your values in the same format eg. A01-50, A02-50, A09-10, A10-50 Then a max on the column would bring back the A10-50 you wanted.

    Database database help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups