Viewing 7 posts - 1,831 through 1,837 (of 1,837 total)
Ugh... yet another typically bad worded question. Technically there's a difference between a feature being disabled and not being setup.
August 19, 2008 at 7:06 am
I believe that if you have a clustered index on the table the execution plan will always have to use it at some point. Having a non-clustered index on...
August 14, 2008 at 4:12 pm
If you're just trying to import a simple flat text file, you might be able to use the command line BCP tool or a BULK INSERT statement with the DATAFILETYPE...
August 14, 2008 at 3:59 pm
If you're doing this in a stored procedure, and the key column of table 1 is an identity, then you can use the SCOPE_IDENTITY() function right after the INSERT INTO...
August 14, 2008 at 3:48 pm
FYI an actual pivot query for this would look like:
[font="Courier New"]SELECT * FROM
(SELECT DestinationID, Feature, Text from #T) t
PIVOT (MAX(Text) FOR Feature IN ([Location], [Weather], [Beaches]))...
August 14, 2008 at 3:31 pm
This isn't nearly as tidy code as yours, but I use this code regularly and it works quite nicely:
[font="Courier New"]CREATE PROCEDURE #TSQL_Search (
@SearchString VARCHAR(40)
) AS
DECLARE
@SchemaName VARCHAR(128),
@ObjectName VARCHAR(128),
@ObjectType VARCHAR(128),
@Definition VARCHAR(max),
@CRLF CHAR(2),
@LineNum...
August 12, 2008 at 2:01 pm
When looking at Windows Task Manager, make sure you have "Show processes from all users" checked on the Processes tab. It will show up as sqlservr.exe on that tab.
August 12, 2008 at 1:43 pm
Viewing 7 posts - 1,831 through 1,837 (of 1,837 total)