Viewing 15 posts - 3,991 through 4,005 (of 7,191 total)
I haven't got anywhere to test this at the moment, but I think you need to join Course_Module twice to Batch instead of once to Batch and once to itself.
John
July 5, 2013 at 7:58 am
Craig
Blocking shouldn't cause your reports to show the wrong (or no) data... unless there is a timeout on whatever application runs the reports. If that's the case, you might...
July 4, 2013 at 9:42 am
Try this:
...
execute (@suspendname)
...
John
July 4, 2013 at 8:49 am
What command are you using to create the database? If you're using the GUI, please use the Script button to generate the script that gets run behind the scenes...
July 4, 2013 at 6:52 am
This sounds like an interview or homework question. What research have you done?
If I'm wrong about that, what is the exact problem you're trying to solve?
John
July 4, 2013 at 4:57 am
That's not two primary keys. It's one primary key constraint over two columns - a composite key.
John
July 3, 2013 at 4:52 am
Is this an interview question, by any chance? What research have you done?
John
July 3, 2013 at 3:30 am
We can't see what you can see, so help us to help you. Please write a RESTORE statement for each operation. Post all the statements, along with any...
July 3, 2013 at 3:28 am
Go on to the Quest website and do a search. There's a utility that you can use to turn a LiteSpeed backup file into a set of native files....
July 2, 2013 at 9:40 am
OK, if your're running exactly the same code - and you may want to check it's exactly the same - then it's got to be environmental. Try putting SET...
July 2, 2013 at 9:24 am
Mmmm... what happens if you paste that code into SSIS and run it there? I wonder whether it's anything to do with SET QUOTED_IDENTIFIER?
John
July 2, 2013 at 9:06 am
I don't understand. If that's how it is in your package, what was it you posted earlier?
You need the single quotes on all lines, even (especially) the ones with...
July 2, 2013 at 8:31 am
ronan.healy (7/2/2013)
hithanks for reply it will be going into an ssis package
so does it go in like this
No. You need to wrap all non-numeric items in your INSERT...
July 2, 2013 at 8:19 am
You're muddling up your single and double quotes. Use single quotes (') when quoting something in T-SQL, and double quotes (") when quoting something in an SSIS expression.
John
July 2, 2013 at 7:43 am
Viewing 15 posts - 3,991 through 4,005 (of 7,191 total)