Viewing 15 posts - 91 through 105 (of 325 total)
September 14, 2018 at 9:35 am
+1 billion on FOMONTH. How on earth was that not so obviously needed for exactly the same reason as EOMONTH? Grrrr.
September 14, 2018 at 9:03 am
It's pretty obvious to me that +1 means adding 1 day but that's...
September 14, 2018 at 8:56 am
One subtle thing to be careful of is the difference between these two styles if you don't get any rows as a result from the query. Using SET will result...
September 13, 2018 at 8:01 pm
9.2 isn't an int, use a suitable decimal or float type for an average.
September 13, 2018 at 1:48 pm
September 13, 2018 at 11:32 am
Excel has a lot of things called filters and it's not at all clear which one you are talking about. How is the data getting into excel? Where are the...
September 13, 2018 at 2:40 am
Lynn Pettis - Wednesday, September 12, 2018 3:56 PM
There is clearly still a long road to go before people default to learning...
September 13, 2018 at 12:53 am
September 13, 2018 at 12:47 am
Given the choice, I'd opt for a Table Valued Function over a Stored Procedure if possible. Yes SPs do return the results of Select statements and if all that matters...
September 13, 2018 at 12:40 am
If you're talking about a filter in an Excel column, yes it's still basically the exact same problem and you still can't possibly have all 9.5 million rows in Excel...
September 13, 2018 at 12:34 am
CREATE PROC WYZ
AS
BEGIN
BEGIN TRY
BEGIN TRANSACTION
September 12, 2018 at 9:07 pm
WHERE USER_NAME() <> 'Specfic User' OR ColumnToCheck=1
should do the trick
September 12, 2018 at 3:18 pm
Something like:
Insert Into TableB
(
TableName,
cola,
colb,
colc,
user_name,
action,
deletion
)
Select
TableName,
...
September 12, 2018 at 12:55 pm
Do the replace after converting to JSON, i.e.:
Select
Replace(
Replace(
(Select * from #Event_Total for json path),
Char(10),
''),
Char(13),
''
)
Although I don't...
September 12, 2018 at 12:36 pm
Viewing 15 posts - 91 through 105 (of 325 total)