Viewing 15 posts - 1,456 through 1,470 (of 2,645 total)
I've found SSAS a nightmare. To deploy our SSAS database it I've resorted to copying all the source code files to the server it's to be deployed on and editing...
August 15, 2019 at 6:31 pm
Thanks for your comment. But why would you use an inner join instead of a left join?
WHERE us.UserId = @userid
August 15, 2019 at 5:01 pm
The query smells pretty bad.
August 15, 2019 at 2:51 pm
Hi mharbuz,
Thanks, I'm glad you got it to work eventually.
Jonathan
August 15, 2019 at 12:41 pm
No worries, Jeff. I also use the first one most primarily (99+%) with only a few use cases for the offset one. You got me to thinking about the...
August 14, 2019 at 5:12 pm
Some things are much better on the new site. The ability to paste in SQL code without it reformatting it is really good.
I'm wondering if some optimisation is needed to...
August 14, 2019 at 12:19 pm
Have you tried setting the Compatability level of the database to "SQL Server 2008"?
August 14, 2019 at 10:58 am
If they do change they are not surrogate keys
Suppose I have to merge data from two systems which happen to have conflicting surrogate primary key values even though they...
August 13, 2019 at 3:42 pm
Using integer identity primary keys with a consistent naming convention (e.g. TableNameId) has a lot of advantages in developing and supporting a database. You will know the column name and...
August 13, 2019 at 3:03 pm
it was showing the backup file size as 822 GB but after backup completion it is 473 GB which is expected
Are you using compression?
August 13, 2019 at 12:03 am
I only managed about 30 seconds before I had to stop it.
August 12, 2019 at 4:09 pm
I'm surprised Joe Celko hasn't piled into this thread as he always seems to bring up the advantages of natural primary keys and the disadvantages of using numbers as PKs...
August 12, 2019 at 2:02 pm
A different method that doesn't use PIVOT
;WITH x AS
(
SELECT ItemID,
SUM(IIF(MonthNo=1, SalesQty,...
August 12, 2019 at 10:08 am
A tvf is a function that returns a table. So you use it in the same way you would use a table. From how you describe the table I think...
August 9, 2019 at 11:04 am
When you insert the rows you can OUTPUT the Id's into a temporary table. Then delete the Ids from the source table that are in the temporary table.
Also, you should...
August 9, 2019 at 1:09 am
Viewing 15 posts - 1,456 through 1,470 (of 2,645 total)