Viewing 15 posts - 736 through 750 (of 3,348 total)
SteveD SQL (2/29/2016)
So what I currently have is those three entities along with a DeptTeamRoles linking table.
And there's the root cause of your problems. This table design is a violation...
February 29, 2016 at 1:49 pm
Ed Wagner (2/29/2016)
Hugo Kornelis (2/29/2016)
jimtimber (2/29/2016)
February 29, 2016 at 1:39 pm
jimtimber (2/29/2016)
February 29, 2016 at 1:29 pm
tony28 (2/26/2016)
WHERE A.1PKCOLUMN='DATE' AND A.1PKCOLUMN+A.2PKCOLUMN>'DATE+SEQ'
So why not write this as
WHERE A.1PKCOLUMN='DATE'
AND A.2PKCOLUMN > '+SEQ'
That would make it far easier for SQL Server to estimate the cardinality, and it does exactly...
February 29, 2016 at 1:23 pm
Hi Noob (is that actaully your real name??),
However, i am not able to find any concept related documentaion
(e.g. relationship between instance/database in SQL server, logical/physical structures in SQL server etc).
Did...
February 29, 2016 at 11:01 am
In a query tool such as SSMS or sqlcmd.exe, execute a query such as SELECT StartDateTime FROM YourTableName;
These tools present the data in a very raw fashion, so you will...
February 28, 2016 at 1:54 pm
Q1:
The documentation pages currently default to SQL Server 2016 (unfortunately, since it is not even officially released yet; it's in CTP - a fancy term for a public betatest).
However, on...
February 28, 2016 at 1:48 pm
The code that extracts the time is not rounding up, it is truncating. It is the other display (Excel, if I understand your reply correctly) that does the rounding.
You write...
February 28, 2016 at 7:13 am
Hi Bantrim,
Unfortunately I cannot assist you in finding off-the-shelf packages that fit your needs. This is not an area I ever had to investigate. But I am happy to hear...
February 28, 2016 at 7:05 am
Hi Bantrim,
You post a lot of information, which is always good. However, the complexity of the problem may be beyond what can be solved -or rather, what I am prepared...
February 28, 2016 at 6:14 am
If the data type of the column is datetime, then it stores fractional seconds as well, with a precision of 1/300th of a second. The CONVERT with style 108 that...
February 28, 2016 at 5:25 am
Good question, and I am glad that the answer I expected to be correct was not listed.
I do want to point out a few things, though.
First, on ISNULL - the...
February 28, 2016 at 3:42 am
SteveD SQL (2/27/2016)
Hugo, I am glad to hear that the bit column for one record is a valid design decision.
Let me correct that: it may be a correct design decision....
February 28, 2016 at 3:07 am
I'm a bit late to the party, but depending on what version of SQL Server you are on, have you looked at using TRY_CAST insterad of trying to build it...
February 28, 2016 at 2:37 am
SQL Server rowstore indexes are stored as balanced trees (*). SQL Server does not use binary trees. I am not aware of any official ruling on what the shorthand "B-tree"...
February 28, 2016 at 2:34 am
Viewing 15 posts - 736 through 750 (of 3,348 total)