Viewing 15 posts - 91 through 105 (of 557 total)
SELECT * FROM A
WHERE
EXISTS (SELECT * FROM B)
AND
EXISTS (SELECT * FROM C)
Selects all rows from table...
March 4, 2019 at 5:31 am
February 14, 2019 at 2:32 am
I was just asked for a job. And was asked if I could help with an overview of some info. Told how I would solve the problem with a simple...
February 14, 2019 at 2:05 am
Thanks all, I'll give this a go tomorrow.
I used an auxiliary calendar and picked up all combinations of days of the 28 of February and the 1st of march.
This would...
February 6, 2019 at 11:52 am
Is 2014 similar to 1990 because Germany won the FIFA World Cup both years?
Yeah that is ok, your choice.
More obvious would be: Dates fall om the same...
February 5, 2019 at 3:06 am
What is the size of the index ?
How many rows are in each index page ? (Average).
For Clustered indexes there are some 'methods' to obtain the position...
February 5, 2019 at 2:58 am
--
-- Convert dd/mm/yyyy to a datetime format independend of regional and language settings.
--
declare @datestring varchar(200) = '24/01/2019'
select substring(@datestring,7,4)+substring(@datestring,4,2)+substring(@datestring,1,2)
select CONVERT(datetime,substring(@datestring,7,4)+substring(@datestring,4,2)+substring(@datestring,1,2))
When sure that...
January 31, 2019 at 7:49 am
This looks like the same problem :
No solutions, but some workarounds are suggested there,
Ben
January 24, 2019 at 8:02 am
Here an extended version of Alan Burstein's example.
A End station is added.
So roundtrips can be handled distinctly.
More examples are added to show the build in increments.
January 24, 2019 at 3:58 am
Thank you,
Simple, elegant and I have learned something.🙂🙂🙂
Thanks,
Ben
January 15, 2019 at 5:12 am
One other thing to consider is the table in relation to other tables.
If the table lives in isolation, then you can make the choice purely based on that...
December 4, 2018 at 8:26 am
Suggestion:
Make an Auxilary table 'Calendar' and use that table to determine the number of days in a period, or between two dates.
In the Auxilary table each day...
December 4, 2018 at 5:12 am
November 26, 2018 at 5:23 am
November 26, 2018 at 3:40 am
Viewing 15 posts - 91 through 105 (of 557 total)