Consulting

Results 1 to 2 of 2

Thread: Odd 'Where' statements

  1. #1

    Odd 'Where' statements

    I'm familiar with SQL syntax but have not used SQL Server before. I am using 2008 Enterprise.

    I used Filter in the Designer Editor. In my text field I put the string Abel. I ran the query and it found the record but Im baffled with the synbatx generated:

    WHERE (LastName = N'Abel')

    Where's the N come from?

    Thanks

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    N just means it is unicode strings.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •