Viewing 15 posts - 16 through 30 (of 2,037 total)
Disclaimer: I'm not sure if I got you right 😀
Yes, you can use the SQL Server procedure xp_cmdshell to execute your tool, but I wouldn't suggest to do this from...
September 11, 2011 at 11:58 am
Hi
As always, it depends. If "abc" is not needed in each query, then it is definitely a good idea. I suggest to read one of the last SSC articles Speeding...
September 11, 2011 at 11:49 am
Hi
I don't get any error when testing your sample data.
; WITH data (EmpNo, HoursWorked) AS (
SELECT '00532210',...
September 11, 2011 at 11:23 am
Hi
only4mithunc (9/11/2011)
The scenario is I have stored procedures ...
In this scenario it is a bit different. I thought you create the temp tables directly from SSMS or a client application....
September 11, 2011 at 10:59 am
Hi craig
No, that's not possible. The vice versa could probably be done with SQLCMD mode.
Greets
Flo
September 10, 2011 at 3:27 pm
Hi
Call me the devils advocate but the temp table will not be dropped when the session becomes closed. It becomes dropped when the connection becomes closed or the session becomes...
September 10, 2011 at 3:05 pm
nikk,
nikk_Stone (9/10/2011)
it is not free of cost... i have to buy it online...
Good books are cheap. Independent on its price, the knowledge it will give you is priceless ;-). It...
September 10, 2011 at 2:28 pm
ananda.murugesan (8/20/2011)
There were 76 non-clustred Index created in sql 2000 as of now data pages and index pages are same MDF...
August 20, 2011 at 5:15 am
Hi
ananda.murugesan (8/20/2011)
August 20, 2011 at 5:14 am
Hi
Seems like SQL Server 2000 had a bug with column name referencing in ORDER BY clause. I suspect your table "desktop_info" has no column called "mac", does it?
If not, change...
August 20, 2011 at 4:44 am
Hi
Don't remove the whole ORDER BY. If it was needed on your SQL Server 2000, it will still be needed on your SQL Server 2008. Remove only the brace ")"...
August 20, 2011 at 4:13 am
Hi ananda
Just remove the last brace "order by d.mac,d.hostname )"
Greets
Flo
August 20, 2011 at 4:04 am
Hi Lance
You could use the DATEPART function to do that, but I'd suggest to do this kind of formatting in the front end application.
Greets
Flo
August 20, 2011 at 4:00 am
Hi
You don't need the leading 'N' if you already get the data as variables. But you need to define your variables in your procudedure as NVARCHAR, like in your table.
Greets
Flo
August 18, 2011 at 8:10 am
It's because I used a INNER JOIN by "c1.RowNum = c2.RowNum - 1" in my example. Change it to a LEFT JOIN and you will get all rows. In this...
August 17, 2011 at 2:46 pm
Viewing 15 posts - 16 through 30 (of 2,037 total)