Viewing 15 posts - 76 through 90 (of 1,315 total)
Do you consider it extra effort to type LTRIM(RTRIM()) instead of TRIM()?
Unless you're generating the SSIS package automatically with BIML, you're doing a lot more work manually defining...
September 24, 2018 at 2:34 pm
I would imagine the wait-until-all-four-files-are-present rule may have to do with the files not being created (or completely written) simultaneously. One integration I work with may take a while to...
September 24, 2018 at 2:07 pm
This might work:DECLARE @cmd VARCHAR(MAX) = '';
SELECT @cmd += '<SQL Command with ; terminator>; '
from sys.tables t
join sys.columns c on t.object_id = c.object_id
where...
September 24, 2018 at 12:18 pm
An invalid email syntax will be caught by sp_send_dbmail and flagged as an error. If it looks good, the email is sent to the SMTP server that you have configured. ...
September 24, 2018 at 11:34 am
We are a mostly SQL Server company, with some applications (SAP mostly) in Oracle. So it makes sense for us to move data from SAP to SQL Server so it...
September 24, 2018 at 11:23 am
Oracle linked servers require installing the Oracle provider software on the SQL Server that will have the linked server. It's not trivial, but it's not that bad.
Then security has...
September 24, 2018 at 11:12 am
You can go nuts trying to figure out how to wire boxes together to do something like this, or you can open a Script task and do some actual coding. ...
September 24, 2018 at 10:55 am
They are user databases, as far as the SQL maintenance plans are concerned.
September 18, 2018 at 11:45 am
That's an ambiguous question.
If this is in a SQL script or command, addDECLARE @Period CHAR(6) = '201809'; -- You don't say where this is being...
September 6, 2018 at 10:28 am
When I've got something that the standard import tools can't handle easily, I tend to fall back on the Microsoft.VisualBasic.FileIO.TextFieldParser object. You're not limited to VB, it can be used...
August 31, 2018 at 8:59 am
Note that row order is not preserved.
SELECT ColumnName = n.value('local-name(.)', 'varchar(100)'),
LookupValue = n.value('.', 'varchar(100)')
FROM @xml.nodes('/SearchQuery/*') x(n)
ORDER BY ColumnName
ColumnName LookupValue
August 29, 2018 at 11:15 am
That's a horrible XML schema. Different nodes related simply by their physical order? They can't provide Name and Number as attributes of a single node?
I don't know if...
August 29, 2018 at 10:43 am
53 is probably sufficient, but if a leap year starts on Saturday then Sunday Dec 31 will be in week 54. Hopefully they don't mind missing Sunday sales on New...
August 9, 2018 at 8:30 am
If you have the ability to define a profile for the logical drives in a SAN, one thing you could do is put log files on a drive that has...
August 9, 2018 at 7:52 am
August 8, 2018 at 6:26 am
Viewing 15 posts - 76 through 90 (of 1,315 total)