Viewing 15 posts - 46 through 60 (of 287 total)
Can you describe first and second normal forms?
And/Or What's the difference between first and second normal form and what is the importance/signifigence of that difference?
There is also a list of...
May 20, 2011 at 11:58 am
If you are trying to find which Foreign Keys reference a particular column, this link might get you going:
May 11, 2011 at 11:38 am
Out of curiosity, are you using linked servers to pull data into a warehouse?
The optimizer, in general, does a pretty good job. But, with linked servers it makes it very...
May 6, 2011 at 3:50 pm
You can... Not sure why you'd want to thought. Maybe this will help:DECLARE @i INT = 0
WHILE @i <= 10
BEGIN
SET @i = (@i % 10) +...
May 6, 2011 at 10:19 am
vijayakumarn (5/6/2011)
vijay BE ECE
table-2
vijay ECE ...
May 6, 2011 at 9:58 am
vishal.gamji (5/5/2011)
May 5, 2011 at 10:35 am
As you discovered, SQL does not guarentee any result order without an ORDER BY clause. That is true with any query, not just CTEs.
May 5, 2011 at 10:25 am
There is also the TABLESAMPLE clause:
http://msdn.microsoft.com/en-us/library/ms189108.aspx
From the article there is another way similar to ChrisM's method like this to get aprox 1% of rows:SELECT * FROM Sales.SalesOrderDetail
WHERE...
April 29, 2011 at 12:10 pm
ROUND returns the same datatype as the value being rounded. So, if you want a different type (like INT) then you need to CAST it.
April 28, 2011 at 2:56 pm
Ninja's_RGR'us (4/26/2011)
I preffer to say that you started too late... I can't believe it took you 20 minutes to write that message :w00t:.
I know.. pretty sad.. 😉
April 26, 2011 at 11:32 am
It might be in other places, but I know that it is in sys.indexes. Specifically, the column filter_definition.
EDIT: Too slow..
April 26, 2011 at 10:23 am
For what it is worth, here is an alternative to the Quirky Update also using Jeff's data (thanks for the data Jeff!). First here is a plain select:;WITH cte
AS
(
SELECT Number,...
April 26, 2011 at 9:49 am
I'm not sure what the data represents, but it appears that you'd be better off changing the schema rather than working on the query. Again, without knowing what the data...
April 25, 2011 at 12:14 pm
Viewing 15 posts - 46 through 60 (of 287 total)