lilmammal!

Just a space for me to keep track of my thoughts, ideas, and plans.

Wednesday, August 13, 2008

SQL - Searching by first letter of record example

To search by the first letter of a last name in a table called Contact:

SELECT * FROM CONTACT
WHERE SUBSTRING(LASTNAME, 1, 1) = @SURNAMELETTER
Posted by lilmammal at 8:44 AM
Labels: development, sql

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

My photo
lilmammal
Freethinking, vegan ESTJ. What else could you possibly need?
View my complete profile

Blogs (most recently updated first)

  • The Fancy Face
  • Makeup your Jangsara
  • Fatfree Vegan Kitchen
  • Sarah'sTim Blog

Links of Interest

  • Burda Style
  • CFI On Campus
  • EK Clothing - Salsa and dance clothing
  • Exotic Salsa Shoes.com
  • Folkwear - Ethnic and Period Patterns
  • Go Veg
  • IUPUI Freethinkers
  • Makeup Geek
  • Mood Designer Fabrics
  • Sharif Wear (belly dance fashion)
  • Tribal Bellydance @ Tribe.net
  • Turbans, Tassels, and Tattoos - American Tribal Style
  • Vegweb (vegan recipes!)

Blog Archive

  • ►  2010 (9)
    • ►  September (3)
    • ►  July (6)
  • ▼  2008 (27)
    • ►  December (1)
    • ►  September (4)
    • ▼  August (6)
      • One-month goal - starting 01 Sep 08
      • Recent notes
      • SQL - Searching by first letter of record example
      • Stops
      • Life
      • Environmentally friendly draino
    • ►  July (15)
    • ►  June (1)

Labels

  • .net code
  • Chicago
  • dance
  • development
  • gridview
  • interviewing
  • job search
  • lists
  • natural products
  • OOP
  • skins
  • sql
  • sql reporting services
  • stocks
  • theme
  • travel
  • work
Watermark theme. Powered by Blogger.