Viewing 15 posts - 6,481 through 6,495 (of 59,091 total)
I'm not a PowerShell user but a Google for "check if file already exists using powershell" turns up things that may easily help do what you want. Try it.
Even better...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 7, 2020 at 7:43 pm
Yes for my testing, I have database called tesdb and testing it by manual insert. So if this is not the right way of doing, can you please advise...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 7, 2020 at 7:33 pm
Do you actually have a table called "TestDB"? If so, which database is it in and what in your BCP command identifies that database?
I also agree with Sergiy. Having this...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 6, 2020 at 1:06 am
It's not what is expected, and the data condition won't occur. Each column is null-able, but both cannot be null.
You should post some readily consumable test data and the...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 6, 2020 at 12:47 am
If the only values available in the result column are Y or N - you could do this:
Select r.id
From Response r
...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 5, 2020 at 11:10 pm
Actually, a single scan would be just fine:
SELECT ID
FROM Response r
GROUP BY ID
HAVING MAX(result) <> MIN(result);
You've just gotta love the old ways. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
September 5, 2020 at 4:14 pm
Ok... I have a question, especially seems to be coming up a lot lately.
To what end does someone need this type of information? What will the information ultimately be used...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2020 at 4:41 pm
The words might be strong, but apparently not strong enough, considering how the masses of developers mindlessly follow the pattern (by default from MS) and clustering everything by ID
True...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2020 at 4:29 pm
So if I were going to change the table's fields from Nvarchar to varchar as long as they are not executing
example: SELECT ... FROM ... WHERE...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2020 at 2:44 pm
Before you publish your project to Azure App Service, you must first upload your project's database to Azure SQL Database.
Heh... do tell... Just how would you accomplish such a...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2020 at 2:31 pm
I want to read some competent answer too, just will wait here
Then go to the other post people have cited. 😉
Since your nondescript post strongly resembles a "test prelude"...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2020 at 2:24 pm
Just to add some clarification to this problem and "bump" it because it is an interesting issue...
Where are you copying the backups FROM? For example, are you copying from on-prem...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2020 at 2:14 pm
Jo
A query (or certainly one that doesn't involve a remote server) will never time out - it will be the application that kills it, not SQL Server.
John
I'm not sure...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2020 at 2:04 pm
Autoincremental bigint ID is never a good candidate for a clustered index.
"Never" is a pretty big word here. There are some exceptions. For example, you're using the Autoincremental ID...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 4, 2020 at 1:43 pm
You bet. Thank you for the feedback.
I use the code to find the worst performing queries even each execution is measured in milliseconds. Repetition means a lot. In other words,...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 3, 2020 at 9:06 pm
Viewing 15 posts - 6,481 through 6,495 (of 59,091 total)