Viewing 15 posts - 4,861 through 4,875 (of 7,191 total)
It's not an elegant way of doing it, but you could schedule your job to run every 45 minutes starting at midnight, and include an initial step to check that...
December 15, 2011 at 4:55 am
Please will you post your table DDL in the form of a CREATE TABLE statement, some sample data in the form of INSERT statements, and, given that sample data, the...
December 14, 2011 at 6:21 am
Try building your ALTER_TABLE statement as a @sql variable. Then you can PRINT @sql as well as EXEC (@sql). If any of the statements fail to add the...
December 14, 2011 at 6:16 am
Parameter name is Param1 for the first parameter, Param2 for the second, and so on.
John
December 13, 2011 at 9:08 am
OK, two things. First, trust but verify. In other words, don't believe what people like me tell you without checking it out for yourself. Read that link...
December 13, 2011 at 8:50 am
Bizarre. Please will you post your SQL statement?
Thanks
John
December 13, 2011 at 8:27 am
If the affinity mask is deprecated, then I wouldn't go anywhere near it. You don't want to have to devise your solution all over again when it's eventually removed.
John
December 13, 2011 at 7:16 am
Read the link I posted earlier carefully. I think it says that for ADO, your parameters should appear as param1, param2, ... in both the parameter list and the...
December 13, 2011 at 7:02 am
Check that your ForEach Loop is configured to write the value(s) from each row into variable(s), and that the variable(s) is mapped to the parameter(s) that you are passing to...
December 13, 2011 at 6:48 am
See here. ADO.Net doesn't use the ? as a parameter marker. In any case, why are you doing this with a ForEach Loop? Sounds like the kind...
December 13, 2011 at 6:30 am
As Dev suggests, ditch the ORDER BY. The only thing that will guarantee sorted results is if you use an ORDER BY when you call the view, so leave...
December 13, 2011 at 1:29 am
I haven't done all that much flat-file exporting with SSIS. But aren't there all sorts of options that you can configure in terms of the output file? If...
December 12, 2011 at 9:19 am
How are you doing the export?
John
December 12, 2011 at 8:55 am
You should leave the displaying of information to your presentation layer. If you must use T-SQL, this'll get you most of the way:
SELECT 123456 / 100.0
John
December 12, 2011 at 8:49 am
Possibly, but I've only ever seen the "Agents XPs disabled" notice next to the SQL Server Agent icon in Management Studio - and you can only see that if SQL...
December 12, 2011 at 8:23 am
Viewing 15 posts - 4,861 through 4,875 (of 7,191 total)