Viewing 15 posts - 5,791 through 5,805 (of 8,753 total)
Michael Gerholdt (4/3/2015)
April 4, 2015 at 10:32 am
coool_sweet (4/4/2015)
i am using row count transformation and adding values to this variable.
now i want this variable to char(8) instead of int.
how to do...
April 4, 2015 at 7:20 am
David Burrows (4/4/2015)
SqlSanctum (4/3/2015)
Sounds like you need to invest in a duck
Did know someone whose workplace had a life size cardboard cut out of a person called Maud (name not...
April 4, 2015 at 6:40 am
Tac11 (4/4/2015)
April 4, 2015 at 6:36 am
Quick note, use the sys.dm_db_persisted_sku_features to identify Enterprise features in use
😎
SELECT
PSF.feature_name
,PSF.feature_id
FROM sys.dm_db_persisted_sku_features PSF;
April 4, 2015 at 6:30 am
Jeff Moden (4/1/2015)
tomy200501 (4/1/2015)
I am trying to set "Is Identity property" To Yes on a column that has uniqueidentifier as a type and has a primary key constraint on...
April 4, 2015 at 4:17 am
You are missing the hash(#) prefix for the #busdetails in the from clause
😎
SELECT @Query = 'SELECT m.bus_id as ID ' + CHAR(13)
+ (SELECT...
April 4, 2015 at 4:05 am
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
Viewing 15 posts - 5,791 through 5,805 (of 8,753 total)