Viewing 15 posts - 5,191 through 5,205 (of 5,588 total)
dh (6/18/2009)
insert into myTable
select
e_id...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 18, 2009 at 7:53 pm
VM (6/18/2009)
insert into @table values(1,'SQL Server 2005')
insert into @table values(2,'SQL Server 2005')
insert into @table values(3,'SQL Server 2005')
insert into @table values(4,'SQL Server 2005')
declare @id int
select...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 18, 2009 at 5:11 am
Well, to check for a table's rowcount being > 0, I would try this:
if exists (select 1 from table)
execute master..xp_cmdshell ...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 17, 2009 at 8:50 pm
digitalox (6/17/2009)
I have a temp table that shows up daily in the missing indexes report, provided by the performance dashboard report. The problem is that it in the form of...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 17, 2009 at 8:42 pm
This link might help you find what you're looking for.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 17, 2009 at 8:13 pm
You're making it harder than necessary.
select * from temp
order by speed desc, acc, tyre, fname, lname
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 17, 2009 at 8:02 pm
No, it's not a bug.
Before you run step 3 again, right-click on the table and select "Refresh".
Then, when you run step 3, you'll have the column.
The GUI tool (SSMS) only...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 17, 2009 at 7:55 pm
Not directly, but there is an indirect way.
Create a temp table with columns that match the data types of the columns being selected in the procedure.
Then:
insert into #MyTempTable
...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 17, 2009 at 7:51 pm
vmon (6/17/2009)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 17, 2009 at 7:46 pm
You're specifying an empty string for the row terminator, but it looks like your file has a normal CRLF. So, just take out the rowterminator clause.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 17, 2009 at 7:24 pm
rambilla4 (6/17/2009)
I want schedule to run sql server profiler in sql server 2005. But I did not find any option. I want schedule to run the profiler from 8:00AM to...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 17, 2009 at 7:15 pm
Luke L (6/16/2009)
ps (6/16/2009)
no i'm getting all updated posts if i click on posts added today.except this thread.. also tried to refresh by ctrl+F5.. same results...
Same here, getting updated lists...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 16, 2009 at 6:37 pm
Jeff Moden (6/15/2009)
WayneS (6/15/2009)
Jeff Moden (6/15/2009)
Ok... you guys can remove the handrails, now. 😛
..... getting out the reciprocating saw .... or will that cause too much damage where the...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 15, 2009 at 8:22 pm
Check out this article: http://www.sqlservercentral.com/articles/Integration+Services/61542/
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 15, 2009 at 8:16 pm
Jeff Moden (6/15/2009)
Ok... you guys can remove the handrails, now. 😛
..... getting out the reciprocating saw .... or will that cause too much damage where the handrails are installed...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
June 15, 2009 at 1:28 pm
Viewing 15 posts - 5,191 through 5,205 (of 5,588 total)