vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Select * from something where field1 = N'literal' What exactly is happening when a query is sent using the N in front of the string to be found? Under what conditions would someone use the N' in a query? I have been testing out some chinese text. I set up some fields of nVarchar, nText and it works with an N. Without the N, it wont work. N also works with fields of varchar and text for english. Would this ever cause a problem to a query depending on how the machines regional settings are set? Why not just put N in all of the queryies? If anyone has some ideas, I would be grateful for any and all information about the N. |