Viewing 15 posts - 706 through 720 (of 821 total)
Very bad worded question:
Query text during caching in SQL 2005
This is related to SQL Server caching. What should be the output of following T-SQL query:
USE AdventureWorks2008R2
GO
EXEC uspPrintError
GO
SELECT st.text QueryText
FROM sys.dm_exec_cached_plans...
November 14, 2010 at 3:57 pm
Jeff Kunkel-812485 (11/12/2010)
However, as I mostly support another vendors databases, I am seeing more developers move the business logic into the application code and out of stored procedures...
November 12, 2010 at 8:41 am
I prefer multiple triggers. But, it's easier to fall in recursive triggers.
November 12, 2010 at 12:47 am
To get values from other tables or columns of the same table but different row, you should use a function:
CREATE TABLE [dbo].[a2]
(
[a1ID] [int] NULL,
[col3] AS (a1ID^2)
)
GO
create function get_a2_col3(@a1id int)
returns int
as
begin
...
November 10, 2010 at 1:06 am
Maybe an attempt to introduce trinary logic? Or should the third option have been NULL? 😉
Please, do not start a discussion about NULLs. 😀
November 9, 2010 at 2:03 am
Hugo Kornelis (11/9/2010)
I was wondering about the inclusion of the "none of the above" option. Was this just a joke from the question author, or will people actually...
November 9, 2010 at 1:33 am
Don't forget Mayan calendar! Some two years to go, and ...
😀
I agree! :-D:-D:-D
November 9, 2010 at 1:29 am
So when the conversion into floats and then taking ceiling of the values, these 2 records generate the same values.
I disagree with explanation, it's enough to convert to INT
Select...
November 5, 2010 at 3:47 am
Hello, terrance
May you explain this syntax?
I think it is very dangerous to transfer search condition in the WHERE clause,
because you can alter result of "LEFT JOIN" that becomes a pure...
November 1, 2010 at 4:17 am
I think the question author tried to confuse us with the syntax for compound operators
I think the question author CONFUSED himself with the syntax for compound operators, as you...
October 29, 2010 at 2:57 am
So it seems that the explanation of the question is wrong, as it states that the pre-increment operator is not used in SQL Server. SQL Server uses however a compound...
October 29, 2010 at 1:13 am
-- non standard ansi
SELECT NullableColumn FROM NullOperation WHERE ISNULL(NullableColumn,'') <> '1'
OR
-- standard ansi
SELECT NullableColumn FROM NullOperation WHERE COALESCE(NullableColumn,'') <> '1'
October 28, 2010 at 1:36 am
Hugo Kornelis (10/22/2010)
But a quick question - if Multi-Server Administration was a new feature in SQL...
October 22, 2010 at 2:39 am
I answered TRUE, but reading and re-reading both question and answer, I do not understand why it's false. Please Hugo, help us to understand.
October 15, 2010 at 1:24 am
Viewing 15 posts - 706 through 720 (of 821 total)