Viewing 15 posts - 8,161 through 8,175 (of 9,641 total)
It looks like you are running the same code in IF and the ELSE. If your goal is to remove Line Feeds from the value column then you all...
July 31, 2008 at 9:29 am
scott.w.white (7/31/2008)
jezemine (7/31/2008)
giving an app direct access to all your tables is like writing a class where EVERY member is public.both are bad ideas.
Not really you control your access still...
July 31, 2008 at 8:39 am
I'm not saying that this is the best way, but I have always had (in the US) address tables with Address_1, Address_2, Address_3, although in the US it is rare...
July 31, 2008 at 8:33 am
I think I have a workable solution that is relatively simple. Create your daily job and do not schedule it and your first of the month job with a...
July 31, 2008 at 8:20 am
I can't say that I have actually done it, but not only can you replay a trace after creating indexes but you can use a saved trace as the workload...
July 31, 2008 at 8:10 am
The code should work in an update statement as well. I notice in the code you have posted you are missing the 'END' for the CASE statement and I...
July 31, 2008 at 6:56 am
sgoldman (7/31/2008)
July 31, 2008 at 6:46 am
I'm glad we got you up and running. Now it's time for you to dive into BOL (Books On Line) and read up on sp_trace_create. It has all...
July 30, 2008 at 7:13 pm
Are you sure that SQL Express was installed as a named instance and not as the default instance? With 2005 you can install SQL Express as the default instance....
July 30, 2008 at 3:28 pm
Is there only 1 instance of SQL Express running on the server? Did the default port get changed?
If your Windows user is a login to the box and a...
July 30, 2008 at 2:16 pm
antonio's solution and my solution are very similar, either should be a major improvement. I like the CTE syntax because I find it cleaner and easier to read.
July 30, 2008 at 2:13 pm
You can definitely eliminate the sub-queries if I understand what you need. I would probably do this in a couple of passes, just to make it easier to read...
July 30, 2008 at 2:11 pm
You have to provide sp_trace_setstatus 2 parameters. Parameter 1 is the traceid and parameter 2 is the status. So you need:
sp_trace_setstatus @traceid = traceid, @status = 0
to stop...
July 30, 2008 at 1:35 pm
I actually encountered the problem in BIDS where my process would run but the SendMail task would fail. One way to test it on the SQL Server is to...
July 30, 2008 at 1:31 pm
Viewing 15 posts - 8,161 through 8,175 (of 9,641 total)