Viewing 15 posts - 2,596 through 2,610 (of 2,646 total)
sample code to replace carriage returns and linefeeds from a column
generic and will go through all columns - test conditions for property.name can allow you to restrict the replacement just...
June 13, 2016 at 12:23 pm
ram302 (6/11/2016)
I'm trying to replace text in a CSV.
The CSV line looks something like this:
"Field One","Field Two","Field
Three","Field Four"
So I tried something like:
(Get-Content $csvfile) -replace "Field`n", "Field" | Set-Content $csvfile
But...
June 11, 2016 at 8:27 am
very raw example
insert into table7
select column1
from OldTable1
where columnx = someconditionvalue1
order by desiredordercolumns
insert into table24
select column1
, column3
, column9
from OldTable1
where columnx =...
June 8, 2016 at 2:07 am
tomd-982312 (6/8/2016)
drew.allen (6/7/2016)
June 8, 2016 at 12:51 am
assuming that what you say is fully correct and that you are using the CRM SDK to extract the data from CRM then it would seem that someone managed to...
June 2, 2016 at 12:05 pm
phanithota26 (5/28/2016)
My SSIS package getting blocked at Pre Execure for more than 14 hours which is not at all acceptable in real time.
My source pulling 90 millions of records,...
May 29, 2016 at 3:25 pm
Hi Mike,
group by cube and group by rollup do not give same results. so cube is the correct one for this purpose.
as for why the 3 num and not just...
May 19, 2016 at 12:16 pm
I would also try the following sql to see what you get.
select top 10 tbl.BusinessDate
from dbo.TableNameT1 tbl
where tbl.BusinessDate < '17530101'
May 16, 2016 at 6:23 am
you may have two possible issues on your table
column may have a default other than null and if so that is what you are getting
whatever method you are...
May 14, 2016 at 6:49 pm
code formatted for clarity and the incorrect alias fixed for year part of date
Answer in english even though I am Portuguese so others may benefit of the answer if it...
May 11, 2016 at 2:17 pm
SQL-DBA-01 (5/10/2016)
When I try to run the below command, the variable ($pk_key2) comes as NULL.
Can you suggest if something is going bad?
[string] $pk_key2 = invoke-sqlcmd -query "SELECT column_name FROM...
May 10, 2016 at 7:18 pm
issue is using Oracle.ManagedDataAccess.Client; -- don't use the managed class.
Example from John should work but it will be slow depending on the volumes.
if you can it might be better to...
May 9, 2016 at 3:22 pm
DiabloSlayer (5/9/2016)
My mistake, I just went back and checked, the hours are like '3.5' and '4' instead of 03:30 and 04:00 as initially stated.
So when I ran the
convert(datetime,STARTDATETIME)...
May 9, 2016 at 2:57 pm
Ah.. if it was that easy.. 1 to 1 mapping.. (sigh).
On the migration I did 1 segment was converted to 200+ Tables, each with their own set of primary key...
May 6, 2016 at 2:50 am
the original developer has most likely defined a expression to build the connection string - on the properties of the connection, look for expressions and see what is there.
Most common...
May 5, 2016 at 9:57 am
Viewing 15 posts - 2,596 through 2,610 (of 2,646 total)