Viewing 15 posts - 14,896 through 14,910 (of 15,381 total)
bizzyjunky (3/15/2011)
I suspect you are trying to list all employee types irrespective of whether there...
March 15, 2011 at 8:26 am
njdevils39 (3/14/2011)
so how should the code look with the execute statement, I apologize for so many questions
as I said several posts ago..
take a look at sp_executesql
March 14, 2011 at 3:24 pm
if @sql has the sql you want to execute then yes.
In a previous post you said it was only updating one group...
March 14, 2011 at 3:14 pm
So you showed me the code for your proc, which still doesn't execute your dynamic sql. You still haven't showed what parameters you are sending in. I can't help you...
March 14, 2011 at 3:08 pm
What is the stored proc code? What parameters are you passing it?
March 14, 2011 at 3:01 pm
Go look in the other thread. It was all there. You just need to execute your dynamic string.
March 14, 2011 at 2:52 pm
You said you don't want dynamic sql but that is what this is. Do you want dynamic sql or not?
March 14, 2011 at 2:42 pm
This is the third of fourth thread where you are basically asking the same thing over and over. People keep asking for details and the best we get is extremely...
March 14, 2011 at 2:08 pm
Your 2¢ may prevent a lot of hand wrings and hair pulling.
I'm actually doing an upgrade of some software along with SQL changes, so I'm building my SQL...
March 14, 2011 at 12:38 pm
Just my 2¢, but I would remove it and fix the VB code that is referencing it. If you still have code that is using it you run the risk...
March 14, 2011 at 12:27 pm
Nice job posting your ddl and data in a consumable format. KUDOS!!!!!!!!!
insert ProductCategory
select ID, CategoryID from product
Is that what you are looking for? Also i assume you are planning...
March 14, 2011 at 11:52 am
Try using datalength instead of a hardcoded length. Think that should get you the desired result.
March 14, 2011 at 7:38 am
Sounds like regional settings are different on these two servers.
March 11, 2011 at 10:38 pm
Hi and welcome to SSC. We need a little information about what you are trying to do before anybody will be able to help. Please see the link in my...
March 11, 2011 at 10:34 pm
Viewing 15 posts - 14,896 through 14,910 (of 15,381 total)