Viewing 15 posts - 241 through 255 (of 463 total)
SqlPrompt from redgate, u know it! 🙂 search for it!
---------------------------------------------------------------------------------
November 2, 2009 at 8:41 am
Thats a good one, thanks lowell 🙂
---------------------------------------------------------------------------------
November 2, 2009 at 8:37 am
siddartha pal (11/2/2009)
---------------------------------------------------------------------------------
November 2, 2009 at 8:22 am
Usually you will have a seperate database account which will be used to connect to the database from your .net application (which users will not be aware of).
If you...
---------------------------------------------------------------------------------
November 2, 2009 at 12:30 am
pramod_yg (11/1/2009)
---------------------------------------------------------------------------------
November 2, 2009 at 12:14 am
Format your select and put where clause as you want. All the information that you want is returned. Build a sproc around this. (using insert and select)
Select *
from msdb.dbo.sysjobs...
---------------------------------------------------------------------------------
October 30, 2009 at 1:59 am
Its not tuned for performance, but this is what I got as a first thought. Please test extensively if it works okay for you. Let us also wait to...
---------------------------------------------------------------------------------
October 29, 2009 at 9:07 am
you need unpivot for this, take a look at the example in this link please.
http://msdn.microsoft.com/en-us/library/ms177410.aspx
Just in case if you need the query,
create table #t
( A int , B int...
---------------------------------------------------------------------------------
October 29, 2009 at 5:38 am
select champ1, champ2
from table t1
where exists (select 1
...
---------------------------------------------------------------------------------
October 29, 2009 at 5:26 am
I guess w3wp is a worker process for asp.net in .net framework 2.0 ( sorry if I missed somewhere, but when do you get that error? when you launch SSMS?)...
---------------------------------------------------------------------------------
October 28, 2009 at 4:53 am
Mark's approach is good!
I guess this should also do.
CREATE TABLE #SORDER (CID int, PID varchar(20))
INSERT INTO #SORDER VALUES (0000001 ,'AAA123')
INSERT INTO #SORDER VALUES (0000002 ,'AAA121')
INSERT INTO #SORDER VALUES (0000003 ,'AAA111')
INSERT...
---------------------------------------------------------------------------------
October 27, 2009 at 8:01 am
Have a look at exists and not exists in BOL, that should do for you!
---------------------------------------------------------------------------------
October 27, 2009 at 7:32 am
Sorry if I have not completely undestood your requirement but to modify the stored procedure you need to click on 'execute', not save! That way it will 'ALTER' the stored...
---------------------------------------------------------------------------------
October 27, 2009 at 7:08 am
ok Vinod, this time around I shall help you with test data. But as suggested by Gianluca, please make sure to post queries with data like this. You would get...
---------------------------------------------------------------------------------
October 27, 2009 at 2:13 am
Why do you need CHAR(39) there, remove them and anyway there is an extra closing parenthesis at the end
---------------------------------------------------------------------------------
October 27, 2009 at 1:29 am
Viewing 15 posts - 241 through 255 (of 463 total)