Viewing 15 posts - 1,396 through 1,410 (of 1,417 total)
Because of the N-prefix the value is cast to NVarChar. The NVarChar(MAX) can contain a maximum of 4000.
BOL:
nvarchar [ ( n | max ) ]
Variable-length Unicode character data. n...
May 27, 2008 at 1:20 am
Hi,
You can find this information about the N-prefix in the BOL:
Unicode string constants that appear in code executed on the server, such as in stored procedures and triggers, must be...
May 27, 2008 at 12:57 am
Hi,
You can setup a trace to log the locking. Run this trace during the execution of the SP.
You might want to ensure you are the only user, to prevent too...
May 23, 2008 at 3:38 am
The discussion becomes very interesting. I didn't know that NOLOCK can cause so much issues.
But when I read the BOL I read the following "NOLOCK: Does not issue any locks....
May 21, 2008 at 12:38 am
Thanks Grant,
Your post made it all clear now. The query is a SELECT so the NOLOCK should apply, but I can now continue analyzing the trace why and on what...
May 15, 2008 at 6:05 am
In the design of the foreign key you can specify a delete rule. Like you said the CASCADE option is what you need. The following is from BOL:
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/uirfsql9/html/08812343-e9a6-4a0f-91fd-80d95ab4b71f.htm
INSERT and UPDATE...
May 8, 2008 at 12:34 am
I have only taken a short look at it. I see in the WHERE clause you often use:
value IN (SELECT xxx FROM yyy WHERE zzz) OR value NOT IN...
April 25, 2008 at 6:10 am
You can install both version on the same box. But you'll have to look at your performance if it is workable.
April 24, 2008 at 1:53 am
Use Windows Performance to set counters on diskspace/access and memory usage. Also set counters to monitor SQL buffer cache and re-compilations. These counters can show you the direction to look...
April 24, 2008 at 1:39 am
I think you mean Archive Tables.
These are tables where you can transfer data to that is not immidiately required.
Say you have a transaction table where you insert several thousands of...
April 22, 2008 at 4:31 am
Ahmad Osama (4/17/2008)
HanShi (4/17/2008)
You can also use the Bitwise NOT function (~) by using a query like:UPDATE inventory SET iLease = ~ iLease
It works:)
What if I have varchar column...
April 17, 2008 at 1:43 am
You can also use the Bitwise NOT function (~) by using a query like:
UPDATE inventory SET iLease = ~ iLease
Regards,
Hans
April 17, 2008 at 1:30 am
Besides the different tools available, you can also set alerts on various things you want to monitor.
You can get an alert when a SQL-job fails, when space drops below a...
April 16, 2008 at 6:49 am
It looks like you haven't defined an Operator yet. Look in SSMS under 'SQL Server Agent' and 'Operators'. You probably have to use a group mail to notify multiple persons...
April 14, 2008 at 6:12 am
Viewing 15 posts - 1,396 through 1,410 (of 1,417 total)