September 6, 2005 at 1:31 pm
For what is used the modifier N' sometimes before the variable in Store Procedures.
For Example:
EXEC msdb.dbo.sp_add_log_shipping_database N'pubs'
EXEC msdb.dbo.sp_add_log_shipping_plan
@plan_name=N'Pubs database backup'
@description= N'Log shipping the pubs database',
@source_server= N'my_source',
@source_dir= N'\\my_source\pubs_logshipping',
@destination_dir= N'c:\logshipping\pubs',
@history_retention_period= 60, -- 1 hour
@file_retention_period= 1440, -- 1 day
@copy_frequency= 10, -- copy files every 10 minutes
@restore_frequency= 30 -- load files every 30 minutes
Thanks
September 6, 2005 at 1:32 pm
The Capital "N" Before a string indicates the string is "Double Byte" Nvarchar, NChar, NText
September 6, 2005 at 1:33 pm
To specify that the string is in unicode format ie. nvarchar or nchar
Cheers,
* Noel
September 6, 2005 at 1:34 pm
hehe... I got in a bit late
* Noel
September 6, 2005 at 1:36 pm
Thank you all for clarify me this question.
Thank yoy very much...
September 6, 2005 at 1:38 pm
Are you back from PASS already??
September 6, 2005 at 1:40 pm
No really I think.
Really, I do not undertand what PASS is
September 6, 2005 at 1:43 pm
Sorry, was talking to Noeld . Maybe this is what PM are for .
September 6, 2005 at 1:47 pm
I am back from London!! PASS is at the end of september. Now
WHAT inthe world rgR'us means??
* Noel
September 6, 2005 at 1:49 pm
I knew you were early .
September 6, 2005 at 1:51 pm
noeld - don't even ask!
by the way i did the right thing and sent you a pm with a "welcome back" msg...for all that remi knows i'm shocked that he doesn't know when PASS is....or that you were in London!
comme d'habitude...late again...RATS!!!!!
**ASCII stupid question, get a stupid ANSI !!!**
September 6, 2005 at 1:54 pm
I know it's in septembre. That's all I need to know since I ain't going .
September 6, 2005 at 2:00 pm
Looks very funny but is very difficult to pronounce
* Noel
September 6, 2005 at 2:01 pm
We'll cross that bridge when we don't meet at PASS this year .
September 6, 2005 at 2:01 pm
noeld - repeat after me - aar - gee - are - us...see how easy it is now ?!
**ASCII stupid question, get a stupid ANSI !!!**
Viewing 15 posts - 1 through 15 (of 18 total)
You must be logged in to reply to this topic. Login to reply