Viewing 15 posts - 3,046 through 3,060 (of 8,731 total)
In the format file, you should define the format of the data file, not the table.
Here's what I used to make it work:
11.0
4
1 SQLBIGINT 0 8...
April 14, 2016 at 8:14 am
You're also calling a function twice. If that's a multi-statement table function, that might be causing problems.
Your clause "and vru.Full_User_Name0 IN (@Assignee)" is causing that your left join becomes an...
April 14, 2016 at 7:38 am
johnwalker10 (4/13/2016)
SnippingTool.exe is located in the System32 folder but it can also...
April 14, 2016 at 7:09 am
lotusnotes (4/14/2016)
If you use an alias od.orderid it still lets you do it & the overall code still works & returns no rows.
You would hope to...
April 14, 2016 at 6:56 am
Have you tried a Quirky Update? That would be my choice.
Reference: http://www.sqlservercentral.com/articles/T-SQL/68467/
April 13, 2016 at 2:44 pm
kawi6rr (4/13/2016)
Table
Is a table that's already created and filled with the...
April 13, 2016 at 2:39 pm
Ed Wagner (4/13/2016)
crookj (4/13/2016)
jeff.mason (4/13/2016)
Manic Star (4/13/2016)
Ed Wagner (4/13/2016)
ThomasRushton (4/13/2016)
jeff.mason (4/13/2016)
Revenant (4/13/2016)
Hugo Kornelis (4/13/2016)
djj (4/13/2016)
crookj (4/13/2016)
Hugo Kornelis (4/13/2016)
Ed Wagner (4/13/2016)
Grumpy DBA (4/12/2016)
crookj (4/12/2016)
BaggerVance
Lance
Carrier
Kitty Hawk
Wright
Rong
China
Grove
Dictionary
(of Music & Musicians...)
Thesaurus
Stegosaurus
Jurassic
ankylosaurus
Club
golf
April 13, 2016 at 2:15 pm
How do you get that output from that data?
Here's what you seem to be trying to do. Please notice on how I posted the sample data so you can do...
April 13, 2016 at 12:21 pm
This is not a bug. It's a feature.
Allowing to reference columns from the outer query allows you to create correlated subqueries. This is specially important when using EXISTS or APPLY.
Due...
April 13, 2016 at 9:56 am
Help us help you. Please post DDL and sample data in a consumable form. Learn how to do it from the articles linked in my signature.
April 13, 2016 at 9:19 am
smw147 (4/13/2016)
drew.allen (4/12/2016)
smw147 (4/12/2016)
Thanks for that 🙂 Never heard of LEAD before. Very interesting.
LEAD and LAG were introduced with SQL2012. You won't be able to use them if...
April 13, 2016 at 7:47 am
If you want to pass parameters, you don't need a view. You need an inline table-valued function (iTVF).
CREATE FUNCTION SomeFunctionName(
@Year int
,@Period int
) RETURNS TABLE AS
RETURN
SELECT
MAX(GLChartOfAccounts.GLChartOfAccountId) AS GLChartOfAccountId,
SUM(DTbl.OpenBalance) AS OpenBalance,
SUM(DTbl.ThisPeriodDebits)...
April 13, 2016 at 7:45 am
dallas13 (4/13/2016)
Sure I dont but not a c# or VB developer so hard to troubleshoot if something goes wrong ther. but thanks all.
I'm not a C# or VB developer either,...
April 13, 2016 at 6:53 am
Avoid threading if you're writing to the same table. Leave that option to SQL Server by the use of parallelism.
Also, align the clustered indexes of temp tables with perm table.
April 13, 2016 at 6:43 am
What's wrong on using the script task code I gave you?
In a single task you'd be validating and deleting. If you need to get the date by the name, that's...
April 13, 2016 at 6:08 am
Viewing 15 posts - 3,046 through 3,060 (of 8,731 total)