Viewing 15 posts - 2,371 through 2,385 (of 2,663 total)
yeah.. with a totally different error
Send-MailMessage : The SMTP server requires a secure connection or the client was not authenticated. The server
response was: 5.7.0 Must issue a...
June 5, 2018 at 12:14 am
That falls under the category of standards (company) and where none exist personal preference.
On my case standards (and personal preference) are
- tables always aliased
- select, from...
June 4, 2018 at 4:33 pm
is this what you expect?
if object_id('dbo.ranks') is not null
drop table dbo.ranks;
create table dbo.ranks
( name nvarchar(50) null
)
on...
June 4, 2018 at 4:13 pm
Apologies for my previous post - Missed the fact that the plans were attached.
Agree with Grant - some implicit conversions around suser_name (all but one) but nothing jumping...
June 4, 2018 at 1:44 pm
ahhhhhh... all queries are based on which user runs it.
uzsakymai.dbo.L0_BP where L0_vart = suser_name()
the above style is all over the place - so...
June 4, 2018 at 12:14 pm
The sample provided follows standard definition for usage from mainframe style extract files - or PC Cobol files that follow old conventions.
But not just those follow these - I...
June 4, 2018 at 11:59 am
pseudo code
read sharepoint list - load onto datatable Invoices
using dbconnection to sqldb -- using transactionscope
{
create temp table (#invoices) -- execute nonquery
...
June 4, 2018 at 11:29 am
offcourse not - instead of using my code you reverted back to your original one
June 4, 2018 at 8:21 am
$File=gci \\abcd\efgh\ijkl | select -last 1
$Attachment = $File.FullName
you may need to enclose the filename with double quotes on the send mail step
June 4, 2018 at 6:40 am
$File="gci \\abcd\efgh\ijkl | select -last 1"
$Attachment = $File
I assume that what you intended here was to get the last file on the folder in question - but...
June 4, 2018 at 3:27 am
Assuming your dates always have the _ before them the following will work
declare @t table (a varchar(50))
insert into @t values ('c:\abc_20181008.txt')
insert into...
June 4, 2018 at 1:11 am
Seen many developers fall under that trap. Wish that would raise an error.
June 2, 2018 at 11:34 am
The following is one way of doing it.
Requires that you load the files onto a staging table with a identity column and 2 other columns, reckey and data...
June 2, 2018 at 11:27 am
Do they do the queries through SSMS? if so most likely it is the session settings they use.
check the different users on tools-->options-->Query Execution-->ANSI
If through another tool...
June 2, 2018 at 9:56 am
you can get the developer edition here - for non production use.
https://www.microsoft.com/en-ie/sql-server/sql-server-downloads
once you tested whatever you need you will have to decide if you need enterprise...
May 31, 2018 at 2:50 pm
Viewing 15 posts - 2,371 through 2,385 (of 2,663 total)