Viewing 15 posts - 4,621 through 4,635 (of 8,731 total)
Brandie Tarvin (7/23/2015)
Luis Cazares (7/22/2015)
Have you read this?Luis, I keep forgetting about that damn chimney. It can cause issues, can't it?
I haven't encountered this problem, but it came out from...
July 23, 2015 at 7:22 am
j-1064772 (7/22/2015)
Was this really in the books on line ?
There's not much detail on this in BOL. There's a paragraph with an example in the Limitations and Restrictions...
July 22, 2015 at 2:20 pm
If absolutely necessary, I'm not sure if a point in time restore could help to get the data before the execution of the stored procedure.
July 22, 2015 at 1:40 pm
You could use cross tabs to create by creating a row number for each team.
WITH CTE AS(
SELECT Client_Teams.Parent, Teams.Name,
...
July 22, 2015 at 1:38 pm
Because it needs single quotes to identify strings. Most (or all) languages need quotes to identify strings, so there shouldn't be a big surprise. Without quotes, there would be no...
July 22, 2015 at 1:19 pm
Have you tried a 3rd party tool like SQL Sentry?
July 22, 2015 at 12:46 pm
That's one of the great things of CTEs. When you update a CTE, you're actually updating the underlying tables. This is not restricted to updates, you can insert and delete...
July 22, 2015 at 12:26 pm
ameen.yousuf88 (7/22/2015)
I however was able to solve the problem. I used Left Outer Join instead of Inner Join and moved the...
July 22, 2015 at 11:12 am
rmedeiros (7/22/2015)
July 22, 2015 at 9:43 am
To find duplicates use this code.
SELECT phd_user_id
FROM PHD_USER
GROUP BY phd_user_id
HAVING COUNT(*) > 1
July 22, 2015 at 9:03 am
Something like this?
SELECT [Group],
MAX( Info1) AS Info1,
MAX( Info2) AS Info2,
MAX( Info3) AS Info3
FROM(
...
July 22, 2015 at 8:36 am
You should not store your values as shown on the result of the query. That goes against normalization and will give you problems when you need to add a different...
July 22, 2015 at 8:28 am
Why do you have repeated values on Table_Two? That would only create a great amount of rows when creating the queries.
A better way to do this is by using a...
July 22, 2015 at 8:24 am
If you have a .bak file, you need to restore the file into a database, as you only have a backup file.
https://msdn.microsoft.com/en-us/library/ms177429.aspx
After restoring your database, you need to define what...
July 22, 2015 at 7:57 am
Maybe someone can find a better way of doing this, but here's an option.
It unpivots the table to order the 3 values, assigns a row number for each value and...
July 22, 2015 at 7:47 am
Viewing 15 posts - 4,621 through 4,635 (of 8,731 total)