Viewing 15 posts - 541 through 555 (of 3,489 total)
Thanks Steve. Just wanted to geocode a bunch of addresses in my database.
May 19, 2021 at 7:39 pm
Not 100% sure this works... but it should at least give you some ideas... If you use LAG(), you can get the "previous" record (in time order) and see if...
May 18, 2021 at 3:53 am
If you're trying to do an exact match, it's just:
WHERE [ColumnName] = 'LifeCare Amb MH'
Starts with and ends with is easy:
WHERE [ColumnName] LIKE 'LifeCare Amb MH%'
WHERE [ColumnName] LIKE '%LifeCare Amb...
May 18, 2021 at 2:54 am
Are you searching for an exact match or just records that contain "LifeCare Amb MH"?
Since you didn't provide any consumable data, it's hard(er) to figure out what the problem is....
May 18, 2021 at 1:07 am
Without CREATE TABLE and CREATE INDEX scripts and the actual execution plan, there's not much anybody here will be able to suggest, I don't think.
May 17, 2021 at 5:34 pm
Did you not see Steve Collins' answer?
What's the point of reposting the question verbatim in as different thread?
May 17, 2021 at 2:23 am
sys.all_objects will give you tables and views, and sys.all_columns will give you column names and type info etc.
May 15, 2021 at 3:18 am
Okay this is confusing. You're using both a windowing function and GROUP BY. I don't think that's right. If all you're doing is looking for duplicates, the simple pattern is...
May 14, 2021 at 6:07 pm
well, when I ran the CREATE TABLE and INSERT scripts, nothing happened, so I couldn't reproduce the problem.
May 13, 2021 at 2:20 am
There are tons of people here more knowledgeable about indexing than I on here, but a couple things spring immediately to mind:
Are you doing something really nuts like SHRINKDB() all...
May 13, 2021 at 12:37 am
I did it a different way than Brian did... the SELECT queries are always nice to make sure you're affecting only the records you intend to... (better safe than sorry!)
May 12, 2021 at 9:42 pm
I think this works... <g> Oh right... the DATEADD stuff is just to confirm that it's actually a date at that point. It is. <g>
use tempdb;
go
DECLARE @FileString...
May 12, 2021 at 4:51 am
Following on from what Steve suggested, if all the Excel files have the same structure, you can use a folder source in PowerBI (or Excel) and it will append all...
May 6, 2021 at 6:34 pm
Why not model like a regular invoice/invoice detail ? You're making this way harder than it has to be.
Once you understand how normalization works and how to apply it, this...
May 6, 2021 at 1:24 am
SELECT TOP (n) ID
FROM MyTable
ORDER BY NewID()
then build the insert from that. ORDER BY NEWID()
April 30, 2021 at 2:16 pm
Viewing 15 posts - 541 through 555 (of 3,489 total)