Viewing 15 posts - 421 through 435 (of 13,429 total)
if you want to avoid a script task,i would think you could use foreach loop pointing to the directory, with a filter like "MyFile_*.txt" for the pattern identify the records,...
June 27, 2017 at 9:26 am
id want to see the execution plan and know what indexes are on the table.
i don't know if the STGeoFromText is slowing things down, if i have the...
June 27, 2017 at 6:51 am
can't you just add another WHEN THEN?
case
when icd.ECCN is not null
then icd.ECCN
when sola.ECCN is not null
then sola.ECCN
else 'missing' end
AS TESTVALUEECCN
June 23, 2017 at 12:47 pm
we need Details. the actual DDL of your current table, a couple of fake sample rows of data, and the DDL of your destination tables.
with that, we can provide...
June 23, 2017 at 6:45 am
performance wise, SQL server can insert millions of rows in about the same time as a single row or small number of rows,
so breaking up an operation into multiple...
June 23, 2017 at 5:39 am
I've seen this on a web server due to connection pooling, but it's been a while.
way back when , we resolved it via two ways: we assigned a default...
June 22, 2017 at 7:44 am
my rule of thumb is for any table over say, 100K rows or so, data transfers like this should be done using the Import/Export Wizard, or via SSIS, so that...
June 21, 2017 at 3:02 pm
did you resolve this? when i read it, the first thing i though was it might be database context.
if the database context was master, you'd get that exact error,...
June 21, 2017 at 3:00 pm
thanks Eirikur, I've got several typical styles I've inherited via copy paste over time that would be improved that way, I know.
I still have things that are selecting rownum from...
June 20, 2017 at 1:44 pm
things like logins and user permissions i kind of prefer to do via TSQL instead of a black box tool that is scripting via SMO.
I like Perry Whittle's...
June 20, 2017 at 11:24 am
i created this simple parsename function that grabs items left to right.
so if the item you want is always int eh seventh split, this works great:/*
June 20, 2017 at 10:20 am
From the description, I'm thinking the issue is you have a slow report,and if multiple people hit it, it's slow, bogs down the system, etc.
I don't think there...
June 14, 2017 at 6:38 am
when you connect via SSMS, it is using the dns and wins services to resolve an name/alias to a specific IP address; therefor since the server already existed, it would...
June 13, 2017 at 2:02 pm
this is what i use:
with extremely rare exceptions, I want @@servername to return the name of the machine.
So if I clone VMOriginal as VMNew, when i connect to...
June 13, 2017 at 12:44 pm
there's an additional table to join to, the msdb.dbo.sysmail_event_log , where the [description] column will tell you exactly what the issue is;
it's typically an error from the mail server, username...
June 13, 2017 at 12:16 pm
Viewing 15 posts - 421 through 435 (of 13,429 total)