Viewing 15 posts - 2,896 through 2,910 (of 4,086 total)
Matt Miller (#4) (10/30/2015)
drew.allen (10/29/2015)
Sean Lange (10/29/2015)
g.britton (10/29/2015)
For that matter I wish we had true Boolean variables. But I dream.
We do.
create table MyTrueBoolean
(
TrueBool bit not null
)
If you have a...
October 30, 2015 at 10:45 am
Sean Lange (10/29/2015)
drew.allen (10/29/2015)
Sean Lange (10/29/2015)
g.britton (10/29/2015)
For that matter I wish we had true Boolean variables. But I dream.
We do.
create table MyTrueBoolean
(
TrueBool bit not null
)
If you have a bit...
October 29, 2015 at 3:04 pm
Sean Lange (10/29/2015)
g.britton (10/29/2015)
For that matter I wish we had true Boolean variables. But I dream.
We do.
create table MyTrueBoolean
(
TrueBool bit not null
)
If you have a bit column and no...
October 29, 2015 at 2:31 pm
kat35601 (10/28/2015)
October 28, 2015 at 1:39 pm
SolveSQL (10/27/2015)
Thank you for the link. i had read on it before. That is not an option for me. Basically i have to insert a dummy row in the excel...
October 27, 2015 at 11:08 am
In my understanding, which could very well be wrong, the answer is no. Implicit transaction has a very specific meaning which does not necessarily apply here. Since transaction...
October 23, 2015 at 2:13 pm
Luis Cazares (10/23/2015)
drew.allen (10/23/2015)
October 23, 2015 at 1:47 pm
In SQL 2008, your best bet is to use the Quirky Update Method[/url]. In SQL 2012 and above, you can use SUM with windowing functions.
Drew
October 23, 2015 at 12:00 pm
You're trying to call a UDF DATEPART defined under the tblCall schema. Unless you've defined your own DATEPART function under this schema, I suspect what you want is DATEPART(yyyy,tblCall.Call_Date)...
October 23, 2015 at 11:55 am
peter 82125 (10/21/2015)
October 21, 2015 at 2:50 pm
I would actually rewrite Luis' query even further. You're obscuring the fact that you're calculating the number of days since started. I like to make that as explicit...
October 21, 2015 at 2:42 pm
I think that it's always possible to rewrite an EXISTS query with an INNER JOIN or a CROSS APPLY.
Drew
October 21, 2015 at 2:18 pm
This forum is for T-SQL, but what you've posted is clearly not T-SQL. It looks like some variant of C. You'd be better off posting in a forum...
October 21, 2015 at 8:06 am
jonas.gunnarsson 52434 (10/21/2015)
But first verify duplicates
-- List duplicates for column
select A.<column_name>
from <table_name> as A
left outer join <table_name> as...
October 21, 2015 at 7:56 am
kiril.lazarov.77 (10/15/2015)
I could pivot salesprice but not both salesprice and quantity. Is it possible? thanks
Not with one pivot, but there is nothing to stop you from using two pivots. ...
October 15, 2015 at 2:58 pm
Viewing 15 posts - 2,896 through 2,910 (of 4,086 total)