Viewing 15 posts - 1,411 through 1,425 (of 1,468 total)
SELECT *
FROM YourTable
WHERE 'False' IN (col1, col2, col3, col4, col5, col6, ... )
September 29, 2016 at 12:10 pm
valeryk2000 (9/27/2016)
CREATE TABLE [dbo].[Readmission_Table](
[ID] [float] NULL,
[ArrivalDateTime] [datetime] NULL
) ON [PRIMARY]
GO
INSERT [dbo].[Readmission_Table] ([ID], [ArrivalDateTime]) VALUES (10000683, CAST(0x0000A66801716A50 AS DateTime))
INSERT [dbo].[Readmission_Table] ([ID], [ArrivalDateTime]) VALUES (10000683, CAST(0x0000A66900B9AB40...
September 28, 2016 at 3:18 am
I expect that the following extract will fail, as the max size of INT is 2,147,483,647 (10 Digits).
Even converting to BIGINT MAY fail, depending on the actual data, as the...
September 23, 2016 at 3:07 am
BOR15K (9/20/2016)
Can one advise how to obtain file's details, please? Both xp_dirtree and xp_cmdshell return expected list of files, but I also need their properties: size and date.
Is it possible,...
September 21, 2016 at 5:18 am
Below are 3 different methods for achieving the required results.
I'll leave it to you to test and find the best performance ...
Option 1 - Will have to be duplicated for...
September 19, 2016 at 2:29 am
kiran08.bi (9/2/2016)
Hi Thanks of the replyi am trying to implement the CTE which is posted above .
You should have noticed that my partial solution only works if all of...
September 4, 2016 at 11:41 am
ammit.it2006 (9/1/2016)
Nice one. Really, We don't need to run one by one...........Thanks
This hsould do the trick
Value = ((select ABS(CAST(NEWID() AS binary(6)) %25)) +1) *0.25
September 2, 2016 at 5:40 am
This looks like the main update can be achieved with a simple CTE to pre-aggregate per AcctNum and AgeBucket, joined to the #test_account for a single update.
;WITH cteAggregate AS (
...
September 2, 2016 at 4:59 am
This will list all the indexes in all the tables in your DB.
Modify the WHERE clause to filter the results.
SELECT
databaseName = DB_NAME()
...
August 23, 2016 at 12:36 am
The Dixie Flatline (8/22/2016)
Why be that chatty? Paying network overhead twice?
It's an option.
I have had cases where this has resulted in improved performance from the UI perspective.
Done...
August 22, 2016 at 1:16 pm
What about getting the app to make 2 separate calls, to 2 separate procs.
August 21, 2016 at 11:45 pm
drew.allen (8/18/2016)
DesNorton (8/17/2016)
Unless my understanding is incorrect, I believe that the movement in this solution is the wrong way around.
To prove this, let's take a look at only the first...
August 18, 2016 at 8:56 am
drew.allen (8/17/2016)
August 17, 2016 at 3:50 pm
Hi Jeff
Something went awry with your quote. Somehow the OP text was quoted under my name
May 30, 2016 at 10:32 pm
WhiteLotus (5/29/2016)
so I run DBCC CHECKIDENT('XYZ',RESEED,0); to reset the value of...
May 29, 2016 at 11:28 pm
Viewing 15 posts - 1,411 through 1,425 (of 1,468 total)