Viewing 15 posts - 4,726 through 4,740 (of 8,731 total)
Here's an example. I changed the code provided by Ed, not because of it being wrong, but because I don't like columns named simply ID and don't like identities on...
July 11, 2015 at 3:46 pm
This article might help you:
https://www.virtualobjectives.com.au/sqlserver/dts_sql2005.htm
I hope that you already have the DTS Designer Components installed.
July 10, 2015 at 12:49 pm
Eirikur Eiriksson (7/10/2015)
Puzzles me though that the last condition will never be hit as it is a subset of the first one, typo perhaps?😎
It's more an optic illusion, as those...
July 10, 2015 at 12:09 pm
It's possible, to do this using dynamic sql.
The main problem is to know which are the possible values for INVENNO and what column name will they represent. If you can...
July 10, 2015 at 12:05 pm
For indexing, you could use something like this:
CREATE NONCLUSTERED INDEX IX_Orders_Cover1
ON dbo.Orders(Type, Status)
INCLUDE (Value, Discount)
The Type and...
July 10, 2015 at 11:10 am
Using a 2008 Evaluation version would give you 90 days to complete the migration without having to pay a license.
July 10, 2015 at 10:57 am
Have you tried the import/export wizard to create an SSIS package and use that on your SQL job?
July 10, 2015 at 10:54 am
That's probably the best way to write it, I'd just add and additional condition for Type IN(3, 4).
Why do you want to change it?
July 10, 2015 at 10:53 am
This procedure can be changed into set-based code. I just don't want to risk posting an incorrect solution and getting blamed for that as I don't have any sample data...
July 10, 2015 at 9:19 am
sgmunson (7/10/2015)
Luis Cazares (4/22/2015)
It should be something like this:
WITH RCTE AS(
select T1.a1, T1.a2, T1.a3,
...
July 10, 2015 at 8:59 am
I can't remember if this is the exact syntax, but it should be something like this:
TRIM( ENT_DATE] )=="" ? (DT_DATE)NULL(DT_DATE) : (DT_DATE)(SUBSTRING(ENT_DATE],1,4) + "-" + SUBSTRING(ENT_DATE],5,2) + "-" +...
July 9, 2015 at 10:36 pm
This stored procedure is full of problems. The RBAR (Row By Agonizing Row) is extreme and I'm having some problems figuring out what you're trying to do.
You need to find...
July 9, 2015 at 1:18 pm
Have you checked that your connection settings are the same in both SSMS and SSRS?
Have you used something to check where's the problem such as profiler or extended events?
July 9, 2015 at 11:30 am
p.shabbir (7/9/2015)
You can also define that column as a date in the connection properties for the file and get the error in there.
Either way, you're reading the whole file and...
July 9, 2015 at 11:27 am
That's exactly what it will do to prevent sending blanks when you intend sending nulls. You can change that if you're certain that you'll only receive nulls to compare as...
July 9, 2015 at 10:05 am
Viewing 15 posts - 4,726 through 4,740 (of 8,731 total)