Viewing 15 posts - 9,421 through 9,435 (of 9,725 total)
JV,
Noeld posted this link for me in my "dynamic pivoting" thread. Take a look at it to see if maybe it'll help you.
http://www.simple-talk.com/community/blogs/andras/archive/2007/09/14/37265.aspx
September 19, 2007 at 4:56 am
Noeld,
This link was EXACTLY what I needed. Thanks! I am emailing cookies to you. @=)
...or kudos or something... @=)
September 19, 2007 at 4:55 am
Joe,
You need to have your variable defaulting done BEFORE you do your SELECT statement. Otherwise, it won't work.
ALTER PROCEDURE [dbo].[search]
(
@ittNumber nvarchar(max),
@ittdescription nvarchar(max),
@itttitle nvarchar(max),
@techsolution nvarchar(max),
@search nvarchar(max)
)
AS
SET NOCOUNT OFF;
if...
September 19, 2007 at 4:50 am
I don't deal much with proxy accounts myself, but SQL Server 2005 does offer the new "Execute AS" capability, where you can force the stored procedure to execute under the...
September 19, 2007 at 4:19 am
Actually, that's almost what we do in our shop. The main difference is that we refresh Dev / Test / QC right before we put in (or start) a release cycle. ...
September 19, 2007 at 3:58 am
Stuff isn't working for me. It's complaining that my subquery is returning more than 1 value.
I guess I am going to have to do this the hard way. I really...
September 18, 2007 at 12:00 pm
Except that still doesn't give me percentages. I can't find a function that does.
Any thoughts?
September 18, 2007 at 11:18 am
You have to default any variables that you might potentially not receive from outside the stored procedure. However, you can't actually use the DEFAULT keyword with variables that are passed...
September 18, 2007 at 11:11 am
Yes, you have the right idea, but your SP WHERE clause is wrong.
You can't use the WHERE clause to match the variables you are passing into the SP to each other. ...
September 18, 2007 at 6:56 am
JV,
Have you ever used SSIS before? What about DTS? If you've never used either, I recommend getting an SSIS book. If you've used DTS but not SSIS, you might be...
September 18, 2007 at 6:30 am
You know, it occurs to me that you might be heading in the wrong direction. Especially as some of your row results turn out to be column headers, but the...
September 18, 2007 at 5:49 am
First, do you have FULL Text Indexing set up on your SQL Server?
The CONTAINS keyword only works with that. Same as FREETEXT, CONTAINSTABLE and FREETEXTTABLE.
Secondly, you have to code your...
September 18, 2007 at 5:40 am
Have you checked out the new PIVOT operator in Books Online?
I'm just learning it myself, so I can't give you a lot of information. Though I'm not sure you can...
September 18, 2007 at 5:19 am
Paul,
Well, I'm good and stumped here. The only thing I can think of is that maybe there's a hidden newline character somewhere in the date field, but I'm not...
September 18, 2007 at 3:59 am
Steve,
Maybe they are just using it in a colloquial sense, but there are a lot of people who would take the word "Snapshot" literally. So I decided just to stick...
September 17, 2007 at 2:26 pm
Viewing 15 posts - 9,421 through 9,435 (of 9,725 total)