Viewing 15 posts - 1,621 through 1,635 (of 3,221 total)
ChrisM@home (11/20/2010)
WayneS (11/20/2010)
ChrisM@home (11/20/2010)
WayneS (11/19/2010)
LutzM (11/19/2010)
WayneS (11/19/2010)
LutzM (11/19/2010)
November 20, 2010 at 4:45 pm
Did you not understand?
Do you have a DATETIME or an identity field in this table?
Remember the order in which the rows are inserted, does NOT guarantee that the they will...
November 20, 2010 at 9:16 am
--==This is how you should have posted your tables definition
CREATE TABLE #T(Field1 INT, Field2 VARCHAR(3),Field3 BIT)
--==This is how you should have posted your sample data
INSERT INTO #T
SELECT 1, 'A', 0...
November 20, 2010 at 8:54 am
What defines the
from the last record that its Filed3 is true,
Do you have a DATETIME or an identity field in this table?
Remember the order in which the rows...
November 20, 2010 at 8:10 am
hoangnnm
- I have MsSql Server 2000 installed on a XP machine .
- The machine is running on a network that i can't access the router ( cos the it...
November 18, 2010 at 8:56 pm
[Jeff Moden
Posted Today @ 10:13 PM
Jeff when the heck do you manage to get some sleep? ? ? ?
November 18, 2010 at 8:25 pm
You could also use IF EXISTS, for example
--Insert some sample data
CREATE TABLE #T(PatID INT, Stat INT)
INSERT INTO #T(PatID, Stat)
SELECT 1234,1 UNION ALL ...
November 18, 2010 at 8:17 pm
Sure, I'll share because you do have to be a chapter leader to access that portion of the PASS web site. Probably a former chapter leader as well because...
November 18, 2010 at 10:46 am
Dom - Can you use a table variable?
DECLARE @I INT
SET @I = 0
DECLARE @T AS TABLE(d DATETIME)
WHILE @I < 30
BEGIN
...
November 18, 2010 at 8:05 am
Your question is rather vague. Can you supply the table definitions, some sample data and the results you require.
To do this to make it possible for someone to give...
November 17, 2010 at 12:02 pm
This might work for you, although it will not present the results in the order you require
select MIN(Codigo)AS 'Codigo' ,Nombre, Apellido,MIN(Tipo)AS 'Tipo' from #mytable GROUP BY Nombre, Apellido
CodigoNombre ...
November 17, 2010 at 11:47 am
Using SQL 2008 if one creates 4 tables (1 for each of the create statements in the question). Insert the same number of rows into each table, and then...
November 17, 2010 at 10:19 am
GSquared (11/15/2010)
If you want to query a set of rows of data, add a Where clause that checks that the...
November 15, 2010 at 11:38 am
Have you considered the use of the IF ELSE construct? For example
DECLARE @text VARCHAR(250)
SET @text = 'Login failed. The login is from an untrusted domain and cannot be used...'
IF...
November 15, 2010 at 10:36 am
Ann Cao
Please do come back and post your results, it will help others with similar problems.
Sachin.Nandanwar, the OP stated problem, is NOT the transaction rolling back but:
So when...
November 14, 2010 at 8:27 am
Viewing 15 posts - 1,621 through 1,635 (of 3,221 total)