Viewing 15 posts - 5,806 through 5,820 (of 8,761 total)
This is kind of straight forward task using SQL Server Management Objects (SMO) in C#/VB.net, i.e. in an SSIS script task etc.. Don't have an example at hand but a...
April 4, 2015 at 3:38 am
Grant Fritchey (4/4/2015)
Another vote for the OUTPUT clause. That link is to the documentation.
Thanks Grant, came back to add the documentation link:-)
😎
April 4, 2015 at 3:32 am
For indices other than primary keys the answer is NO, the closest would be the date for the statistics
😎
SELECT
I.object_id
,I.index_id
,I.name...
April 4, 2015 at 3:27 am
Quick suggestion, create a procedure that executes sp_readerrorlog and filter/search the output, then use sqlcmd and a windows scheduled task to execute the procedure.
😎
DECLARE @LOG TABLE
(
LogDate...
April 4, 2015 at 2:43 am
sqlguy-736318 (4/1/2015)
April 4, 2015 at 2:34 am
For completeness, what's missing is the removal of half of the CRLF combination (windows newline)
😎
USE tempdb;
GO
SET NOCOUNT ON;
IF OBJECT_ID(N'tempdb..#t3') IS NOT NULL DROP TABLE #t3;
Create table #t3 (id int, country...
April 4, 2015 at 2:30 am
As mentioned before, this looks like blocking, typical signs are high signal waits with relatively low actual cpu usage but following the same pattern. The reason for it to suddenly...
April 4, 2015 at 1:15 am
Obviously the Test Connection is successful?
😎
Don't have SSDT available at the moment, so I cannot do much more than point you to this article: Example using Web Services with SQL...
April 4, 2015 at 1:07 am
Quick thought, use the OUTPUT clause, here is an example
😎
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @GUIDINSERT TABLE
(
GUID_ID UNIQUEIDENTIFIER NOT NULL
...
April 4, 2015 at 12:17 am
Quick thought, having a Named Pipe as a protocol there looks odd, have the client network configurations changed on the server?
😎
Named Pipes Provider: Could not open a connection to SQL...
April 4, 2015 at 12:07 am
itmasterw 60042 (4/3/2015)
Someone was telling me that they had a text file that was both comma and piped delimited and that they used BCP to import it.
While they did not...
April 3, 2015 at 11:59 pm
Quick question, as looks like the HTTP Connection Manager is not correctly configured, can you post the connection configuration?
😎
April 3, 2015 at 11:28 pm
t.mounika01 (4/3/2015)
In the input column the hash value is in bytes and in output column it is string
As SSIS does not have the concept of implicit type conversion you will...
April 3, 2015 at 11:10 pm
Further on Sean's answer, seriously suggest you look into some database design patterns, what you got there is just awful
😎
April 3, 2015 at 1:19 pm
ZZartin (4/3/2015)
Quick question Grant, how many times have you seen systems/processes fail on the 13th of the month? I can count a good handful.
My favorite was coming across a system...
April 3, 2015 at 1:03 pm
Viewing 15 posts - 5,806 through 5,820 (of 8,761 total)