Viewing 15 posts - 6,166 through 6,180 (of 6,486 total)
your double quotes are messing you up. here's the line
SET @strSql = 'SELECT rowid AS id,description INTO '+@tablename+' FROM OPENROWSET( ''Microsoft.Jet.OLEDB.4.0'', ''Excel 8.0;Database=D:\webs\cig.org.ec\www\CO\Uploads\files\'+@file+'',''SELECT * FROM [Sheet1$]'') ORDER BY id'
Note...
October 4, 2007 at 3:28 pm
Switching between HTTP and HTTPS in itself usually will drop the session info in IIS. Are you in a position on that IIS server to only allow https? That...
October 4, 2007 at 3:12 pm
Kristin Echols (10/4/2007)
We have agreed to disagree...for the children's sake.
p.s. ...
October 4, 2007 at 3:01 pm
jay holovacs (10/4/2007)
You haven't lived till you get roasted by a bunch half drunk Oracle...
October 4, 2007 at 2:54 pm
Also - by having a separate transaction deal with the output, versus one directly tied in to the insert, you minimize data loss. You can reprint an invoice, as...
October 4, 2007 at 2:48 pm
SELECT dbo.tblCoilData.Coil_ID, count(*) as shortoutages
FROM dbo.tblDowntime INNER JOIN
dbo.tblCoilData ON dbo.tblDowntime.Coil_ID = dbo.tblCoilData.Coil_ID
WHERE (dbo.tblDowntime.Duration < '900')
group by dbo.tblCoilData.Coil_ID
Also - no way should duration be char value - that will cause...
October 4, 2007 at 2:41 pm
Sorry - some of my first post got whacked - check the response above now...
October 4, 2007 at 2:24 pm
CASE doesn't work that way. CASE is used for inlining simple functions, but cannot encapsulate whole SQL statements (a function call itself, but not an EXEC statement).
Try this instead:
CREATE...
October 4, 2007 at 2:19 pm
My eyes see one thing, and my fingies type another. Thanks Adam.
October 4, 2007 at 2:10 pm
You're not doing a subtract at all (I understand that's the goal, but the syntax isn't doing that).
You're getting no results because the NOT EXISTS syntax is wrong. Never...
October 4, 2007 at 2:08 pm
This is one of those confusing. In order to set ANSI NULLs or ANSI WARNINGS for a stored proc, you need to set them BEFORE the create procedure syntax....
October 4, 2007 at 1:58 pm
Well - it's tough to know - since you've got records from 3 tables. One of the table's values will likely look like they're duplicating - but that's the...
October 4, 2007 at 9:33 am
Keep in mind - you can use MAX and MIN functions on character fields, and they will return the char field. Might be easier than doing the link to...
October 4, 2007 at 9:16 am
also confused - are you saying you're having trouble because the SSIS isn't executing those steps, or the SSIS step needs to call another SSIS package?
October 4, 2007 at 9:12 am
Of course - you CAN partition based on a computed column, so you could backdoor your way into your partitioning scheme using the right computed column (like, say,
CASE when...
October 4, 2007 at 9:10 am
Viewing 15 posts - 6,166 through 6,180 (of 6,486 total)