Viewing 15 posts - 7,096 through 7,110 (of 8,753 total)
Here is a quick solution, should help get you passed this hurdle. It demonstrates that you can use INNER JOIN and retain the full details of the set by using...
September 13, 2014 at 5:14 am
Hi and welcome to the forum.
Could you post the DDL (create table script) and possibly some sample data, makes it easier to provide an accurate answer, for more information,...
September 13, 2014 at 3:44 am
Quick thoughts, there is quite some room for improvements such as using a single variable instead of the getdate function, a case statement can be replaced by simple arithmetic "12...
September 13, 2014 at 12:16 am
Quick thought, there is no need for a self-join as this is an elementary set problem which is easily solved using the window functions in SQL Server 2005 or later.
USE...
September 12, 2014 at 11:17 pm
karunakar2351 (9/12/2014)
Hi,I have two tables
Table1 Table2
1 5
2 6
3 7
4 8
How to swap table2 values in Table1 & Table1 to Table2...?
It depends on what exactly you want to do, you can...
September 12, 2014 at 2:18 pm
abhas (9/11/2014)
Hi all,in addition above.
Hi,
put varchar datatype, why because actual data is like: Sorry for not mentioning earlier.
99.87%, 99.96%, 8.67%
and out put want as
99.8%
99.9%
8.6%
Thanks,
Abhas.
Here is a quick solution, should...
September 12, 2014 at 1:30 pm
SQLRNNR (9/12/2014)
Ed Wagner (9/12/2014)
GilaMonster (9/12/2014)
Lynn Pettis (9/12/2014)
SQLRNNR (9/12/2014)
GilaMonster (9/12/2014)
Um... http://www.sqlservercentral.com/Forums/Topic1612868-3411-1.aspx ????I invoke the barge pole rule.
2nd that. Does the motion pass??
Motion passes with no objections.
Without objection, it is so...
September 12, 2014 at 10:40 am
Snargables (9/12/2014)
September 12, 2014 at 9:44 am
TomThomson (9/11/2014)
Eirikur Eiriksson (9/11/2014)
Lets add some spanners into the mix
Although the first two chunks indicate clearly that NULL is ordered low by ORDER BY, they don't indicate anything else.
The "spanners"...
September 12, 2014 at 5:29 am
Eugene Elutin (9/11/2014)
Eirikur Eiriksson (9/11/2014)
F. van Ruyven (9/11/2014)
Eirikur Eiriksson (9/9/2014)
Alan.B (9/9/2014)
Cool. I never knew you could do that, very...
September 11, 2014 at 1:14 pm
mario17 (9/11/2014)
This is one way Xactional Replication, I suspect that was done in bulk, I don't really know answer about article, most likely it default (so could be Table...
September 11, 2014 at 10:07 am
F. van Ruyven (9/11/2014)
Eirikur Eiriksson (9/9/2014)
Alan.B (9/9/2014)
Cool. I never knew you could do that, very interesting :laugh:
Edit: sql code...
September 11, 2014 at 9:36 am
Quick code to get you passed the hurdle
😎
USE tempdb;
GO
IF OBJECT_ID('dbo.staff_attendance') IS NOT NULL
DROP TABLE dbo.staff_attendance;
create table dbo.staff_attendance
(
attendance_id int
...
September 11, 2014 at 1:46 am
Viewing 15 posts - 7,096 through 7,110 (of 8,753 total)