Viewing 15 posts - 211 through 225 (of 463 total)
Are you looking for something like this?
CREATE table #t1(ID int, FName varchar(10), Sname varchar(10))
INSERT INTO #t1 VALUES (2886, 'nom 1' , 'prenom 1')
INSERT INTO #t1 VALUES (2886, 'nom 2'...
---------------------------------------------------------------------------------
November 12, 2009 at 6:37 am
Sorry not tested it. 'USE DB' wont help?
---------------------------------------------------------------------------------
November 12, 2009 at 6:13 am
I think you need login trigger if you want to avoid any particular type of third party tool. Follow this link. Thanks.
http://www.sqlservercentral.com/Forums/Topic812192-145-1.aspx
---------------------------------------------------------------------------------
November 12, 2009 at 5:15 am
rameshduraikannu (11/12/2009)
100(compare)104 ==> (nearest)100i think so it must be understable...
Sorry, I could not understand. Can you provide some test data and table script and then the expected result?
When you say...
---------------------------------------------------------------------------------
November 12, 2009 at 2:07 am
See if this helps yeah! Its a pretty common question and I just did a search here on SSC and found this topic.
http://www.sqlservercentral.com/Forums/Topic453737-338-1.aspx
---------------------------------------------------------------------------------
November 12, 2009 at 12:27 am
rameshduraikannu (11/11/2009)
i had two table range1,range2
first table column value is
height=200
second table column value is
height=206
I want to compare two column value and round the value to nearest...
---------------------------------------------------------------------------------
November 12, 2009 at 12:01 am
Solution provided by Adi cohn was very straightforward i thought!
---------------------------------------------------------------------------------
November 11, 2009 at 11:53 am
I dont think so! You're LEFT joining the tables and if there are no matches in 2nd,3rd, 4th table then you will have null for the sessionids there. Your where...
---------------------------------------------------------------------------------
November 11, 2009 at 11:43 am
deepakkn (11/6/2009)
Thanks,We have got another solution and we have implemented it already.
Wouldn't it be nice if you can post that solution also please? so that when someone goes through this...
---------------------------------------------------------------------------------
November 6, 2009 at 10:05 pm
I guess there are other ways to do that as well, but create a temp table and then do this,
INSERT INTO #temptable
EXEC urstoredprocedure
INSERT INTO #temptable
EXEC urstoredprocedure
Select * from #temptable
---------------------------------------------------------------------------------
November 6, 2009 at 9:59 pm
then that column is not there in either of the table .. identify the columns you want to join the tables on first!
---------------------------------------------------------------------------------
November 6, 2009 at 11:35 am
krypto69 (11/6/2009)
zone,
data_date,
...
---------------------------------------------------------------------------------
November 6, 2009 at 10:37 am
Florian Reischl (11/6/2009)
Read this article bottom up: [/url]
this is fun 🙂
---------------------------------------------------------------------------------
November 6, 2009 at 7:55 am
pc131 (11/5/2009)
FROM (test1 t1) LEFT JOIN (test3 t3, test2 t2)
ON (t1.id=t2.id AND t1.id=t3.id)
I actually forced SQL...
---------------------------------------------------------------------------------
November 6, 2009 at 12:31 am
Error was generous enough to tell you what the problem was 🙂
declare @VAR varchar(10)
execute TESTPROC @VAR output
PRINT @var
---------------------------------------------------------------------------------
November 6, 2009 at 12:10 am
Viewing 15 posts - 211 through 225 (of 463 total)