Viewing 15 posts - 6,781 through 6,795 (of 8,753 total)
Quick cross-tab solution.
😎
USE tempdb;
GO
SET NOCOUNT ON;
;WITH SAMPLE_DATA(DOG,Name,Color,Age) AS
( SELECT * FROM (VALUES
('Boxer' ,'BO' ,'Fawn' ,1)
...
October 14, 2014 at 10:18 pm
Quick thought, run both queries in the same query window with "Include Actual Execution Plan" turned on. Then compare the two plans and tell us what the difference is.
😎
October 14, 2014 at 9:41 pm
Luis Cazares (10/14/2014)
Thank you for the update, Steve.
In an unrelated topic, have you ever seen a code...
October 14, 2014 at 1:08 pm
Lynn Pettis (10/14/2014)
Could you post the DDL (CREATE TABLE statements) for the tables?
Further on Lynn's request, the actual execution plans?
😎
October 14, 2014 at 11:50 am
Another quick solution, less flexibility but only a single table scan
😎
USE tempdb;
GO
IF (SELECT OBJECT_ID(N'dbo.example')) IS NOT NULL DROP TABLE dbo.example;
create table dbo.example
( a int null,
b varchar(100) null,
c varchar(100) null,
d varchar(1000)...
October 14, 2014 at 9:50 am
Steve Jones - SSC Editor (10/14/2014)
Is quoting and general access slow for anyone else today?
Initial request is slow, subsequent requests are fine
😎
October 14, 2014 at 7:57 am
Quick thought, use the OUTPUT clause in the stored procedure to insert into the audit table.
😎
October 14, 2014 at 1:18 am
Quick question, can you post the full DDL of the table and the indices?
😎
October 14, 2014 at 12:06 am
Quick questions, which product code? Is there only one product code or should it be any product code? What's the role of the variable, wouldn't it be better to have...
October 14, 2014 at 12:02 am
kyiaun (10/13/2014)
Declare @id int
Declare @i int
Declare...
October 13, 2014 at 11:28 pm
skb 44459 (10/13/2014)
I have already done TCP/IP changes. But still does not work.
Then everything is pointing to the name resolution, check the DNS, win host name etc.
😎
October 13, 2014 at 11:17 pm
Quick solution and an opposite problem to Jeff's, lots of coffee but yet to be drunken.
😎
USE tempdb;
GO
IF (SELECT OBJECT_ID(N'dbo.example')) IS NOT NULL DROP TABLE dbo.example;
create table dbo.example
( a int null,
b...
October 13, 2014 at 10:24 pm
skb 44459 (10/13/2014)
looks like after renaming the server. it didn't chage it.
You cannot rename an instance, only the server
😎
October 13, 2014 at 10:14 am
Quick suggestion, in SQL Server configuration Manager, Server Network Configuration, Protocols for SRVDR, Enable TCP/IP. Then in the properties window set TCP Dynamic Ports 0 or blank and all IP...
October 13, 2014 at 10:09 am
One more question, in cmd what does reg query "HKLM\Software\Microsoft\Microsoft SQL Server\Instance Names\SQL" return?
😎
October 13, 2014 at 9:34 am
Viewing 15 posts - 6,781 through 6,795 (of 8,753 total)