Here's a few of the new posts today on the forums. To see more, visit the forums.
|
Very slow, giving bad gateway errors and QOTD show as unanswered when they are - Coming to the new site for the first time today it is extremely slow for me and clicking on the QOTD section keeps giving a Bad Gateway Error and when I can see the questions, ones I have answered say Answer this but when I click on them it says they are already answered – […] |
Using CTE in Scalar Function - I am trying to use a CTE (Common Table Expression) within a ScalarFunction . Am I able to do this. I am get several red squiggly line errors right now. (“Incorrect syntax near Declare” ,”Invalid column name DateEffective”,”Invalid Object Name inceptionCTE”, “Invalid column name PriorPolicy”) Is there a way to do this and make SQL […] |
Random DateTime Range - I understand my topic title is pretty generic, but what I cant seem to find on the internet is how to generate a small table of random date and time values for the year 2019. An example is 2019-01-01 14:01:00.0000000 2019-01-02 14:01:00.0000000 2019-03-01 06:13:48.0000000 2019-04-01 05:47:40.0000000 2019-04-13 04:06:51.0000000 2019-04-15 03:23:28.0000000 I am sure it is […] |
Create Key with distinct values - Hi everyone, I currently have two tables: A. Entity Name, Entity EIN, Amount B. Fiscal Year, Entity Name, Entity EIN I want to create a foreign key that reference A to B (i.e. B as control table) using Entity Name and Entity EIN only. However, I couldn’t create a primary key with Name and EIN […] |
Need to extend length of PK - I have inherited a database, and have found a bit of a flaw that is preventing me from updating it. Let me first start by saying I know a little about SQL, but mainly from access, and a few searches here and there. The problem is that the primary key (for office codes) was set […] |
Always on – Entered Synchronised\Suspect - Hi all, My AG database on the primary has just suddenly gone in to a synchronised\suspect state and is currently in accessible. I’ve checked disk space and that’s all good. Any idea’s on how I can resolve this? Thanks, Nic |
New Topic test - Looking for this to apeear in various feeds. |
Issues/fixes I would like to see - You can’t link your account to multiple emails. An issue I brought up many times. I don’t want to associate this site with my work email, just in case something happens to my job. And I don’t want to be checking my home email while at work. No calendar with links to the daily newsletters. […] |
Estimated Number of Rows 4,056,100,000,000,000,000,000,000 ! - I inherited a long convoluted query that rebuilds a summary table every morning. It recently started taking much longer than usual. Looking at the execution plan, there is a string of “Nested Loops” and “Compute Scalar” and the estimated # of rows shows crazy increases with each one. There have not been any code changes […] |
Article discussion link point to Data Compression Double Take - The discussion link in today’s Corgi Completion Contest article is pointing at the Data Compression Double Take article instead of the discussion for the CCC article. |
Dimension [Fact Internet Sales] : Create hierarchies in non-parent chi - Hi, Please Assist? I am trying to deploy a cube and it gives me a few errors. How do i correct? I am using the AdventureworksDW2012. |
Database suspect mode - Database suspect mode but i can’t remove mirror or set emergency mode now, due to database configured mirroring. How can we remove mirror in principal server? pl. suggest Thanks |
Create table with synonyms - Hi all I’ve having a bit of a tidy up of our functions as we have the same function all over the place (same name/code/etc.). The function (for grabbing the name of any UK bank holidays) is part of our DIM_Date table. The function is called “fn_Get_UK_Holiday” and that appears in several […] |
Internal Query Processor Error: The query processor could not produce a query .. - Hi all, I have hit a problem in SQL server 2016 and I don’t have access to 2017 to see if the same problem occurs there to. If someone would be so kind as to try the below query in a SQL 2017 environment and report back here I would be very grateful. In SQL […] |
2016 CU and SU - Hi, Does SQL 2016 CU4 and up contain the previously released SUs (4293802,4458621)?? Thanks Claude |