Viewing 15 posts - 121 through 135 (of 1,219 total)
No, quantity belongs to tblLocationAssets
Well, then you know what to fix in the query.
September 2, 2020 at 11:41 am
You have ast.quantity all over the query. Is there a quantity column in the table tblAssets? In such case, why is the CTE taking quantity from a different table?
As I...
September 2, 2020 at 11:25 am
Jeff, if you are going to suggest people to use dynamic SQL, at least show them code that is safe and robust. The construct
September 2, 2020 at 8:16 am
I generally agree with Erland on this subject and pietLinden is probably correct about SSRS BUT... this is actually fairly simple to pull off in T-SQL.
Yes, for you and...
September 2, 2020 at 6:47 am
I'm a database guy and don't work on the client side, so my knowledge is thin on exactly what products that are out there. I guess could google around, but...
September 1, 2020 at 7:50 pm
First of all, you should think twice if this is something you really should do in the database. This is for presentional matters, so the presentation layer is the best...
September 1, 2020 at 7:25 pm
I'm tempted to say that none of them are good. If you really have reason to put this exceptional command in a stored procedure, you should add a comment that...
August 31, 2020 at 6:35 am
To be able to help you further we need more information. Here is a question that you need to find the answer to: Say that is is not possible to...
August 23, 2020 at 8:54 am
If you run
xp_cmdshell 'TIME /T'
what do you see?
Have you tried restarting SQL Server?
August 22, 2020 at 5:54 pm
For a question like this, you help yourself quite a bit if you post CREATE TABLE statements for your table(s), INSERT statements with sample data and the desired result from...
August 22, 2020 at 8:24 am
Basically anytime when a new record is inserted into the specific table\column , it grab the record and bring it over in some way for use in another system.
we...
August 21, 2020 at 10:07 pm
Yes, you can create an INSTEAD OF trigger on a view. That is, a trigger that fires if an INSERT statement (or which action the view is defined) attempted on...
August 21, 2020 at 9:11 pm
I don't think dropping the queue helps. Rather it makes things worse.
But the best start may be to ask around. There must be someone who knows what this database is...
August 14, 2020 at 1:49 pm
If Service Broker is disabled, does anyone care about the conversations? If memory serves, you can do ALTER DATABASE db SET NEW_BROKER and it will clear up everything. And I...
August 10, 2020 at 9:16 pm
July 27, 2020 at 9:07 pm
Viewing 15 posts - 121 through 135 (of 1,219 total)