Viewing 15 posts - 4,831 through 4,845 (of 5,111 total)
October 31, 2016 at 4:43 am
Yes., There's a few different ways, for example:
SELECT GETDATE() AS CurrentDateTime,
(DATEPART(HOUR, GETDATE()) * 10000) + (DATEPART(MINUTE, GETDATE()) * 100) + DATEPART(SECOND, GETDATE()) AS...
October 31, 2016 at 3:56 am
How is your HTML being generated? I assume that it is not a dataset, which means that SSRS will see your HTML string as one item, not 4. I wouldn't...
October 31, 2016 at 3:52 am
Chris Harshman (10/27/2016)
October 27, 2016 at 9:52 am
Luis Cazares (10/27/2016)
This runs several times faster. I just can't understand why the FORMAT function is so slow.
I really wish it wasn't. It's a lazy man's dream. :hehe:
October 27, 2016 at 9:47 am
One thing I've been told here, repeatedly(cause i keep using it), is that FORMAT (T-SQL) is awfully slow, which I agree it is; I'm just lazy.
On a silly dev PC...
October 27, 2016 at 9:21 am
Welcome to SQL Server Central. When posting, it's always helpful to provide DDL's and INSERT statement for your tables and data, rather than a copy and paste. Have a look...
October 27, 2016 at 4:57 am
tcronin 95651 (10/26/2016)
User interface starting service gets same message, nothing in sql logs
Not your SQL logs, your event logs. This'll give better information.
October 27, 2016 at 3:36 am
When posting, you should really provide the INSERT statements, as a copy paste of data can be awful to read. I've done this for you:
CREATE TABLE #Primary (DealNumber INT,
...
October 26, 2016 at 7:32 am
You probably could do this in SSIS using WMI tasks (WMI Event Watcher). You can set the task to wait for a file creation, and then once it has been...
October 26, 2016 at 4:10 am
Instead of using variables in the child package, use parameters. You can then pass the variables within the parent package as parameters to the child.
October 26, 2016 at 3:48 am
dramaqueen (10/25/2016)
SELECT O.ow_id
FROM props.dp_owner O
JOIN props.dp_entry E
...
October 25, 2016 at 8:41 am
Does day 1 always have a default value? is so LEAD has the option of providing this, as the format is [expression], [offset], [default value].
So for example you could have:
--Assumes...
October 25, 2016 at 8:14 am
it's always best to give some more data that your query, it's very hard to do anything without data (see the link in my signature for how to post).
I've gone...
October 25, 2016 at 8:02 am
If my understanding is correct, and you're always after the next tick value, have you considered using LEAD (T-SQL), rather than doing a self join?
October 25, 2016 at 7:21 am
Viewing 15 posts - 4,831 through 4,845 (of 5,111 total)