Viewing 15 posts - 2,356 through 2,370 (of 2,651 total)
I notice that your scripts are missing both compression and filegroup information - just to confirm could you please run the following script and supply us with the output.
And...
June 6, 2018 at 5:56 pm
message is quite clear - access denied
the user SQL Server instance is running under needs access to the...
June 6, 2018 at 5:05 pm
I've seen that happen when there is a tiniest time difference on the clock vs domain server. Setting up a dependency on the time service can solve the issue if...
June 5, 2018 at 7:03 pm
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
Viewing 15 posts - 2,356 through 2,370 (of 2,651 total)