Viewing 15 posts - 8,146 through 8,160 (of 9,641 total)
Sure you can create an on delete trigger that will log the delete. You may not be able to get the actual user name though, it all depends on...
July 31, 2008 at 3:24 pm
What do you mean the IF ELSE is not getting executed and how do you know?
Are you sure the variables are being initialized?
You can compare 2 variables like this:
[font="Courier...
July 31, 2008 at 3:20 pm
I am going to make some suggestions and then give you a semi-solution.
1. Don't mix LEFT and RIGHT Joins, nothing good can come of it.
2. Only use OUTER...
July 31, 2008 at 3:16 pm
Use Information_Schema.Routines Routine_Defintion column.
[font="Courier New"]SELECT
routine_name,
routine_type,
routine_definition
FROM
information_schema.routines
WHERE
routine_definition LIKE '%cursor%'[/font]
July 31, 2008 at 2:54 pm
Here are a couple of articles on how to do it:
http://windowsitpro.com/article/articleid/14338/how-can-i-use-lotus-notes-for-sql-mail.html
Another option is to download xp_smtp_sendmail and setup jobs that monitor the server and email alerts using it.
July 31, 2008 at 2:35 pm
Grant Fritchey (7/31/2008)
Tuning Advisor stinks.
Don't be afraid to speak your mind, Grant.:D
The one shortcoming, and it's fairly large, production represents a series of threads from various applications and/or application servers....
July 31, 2008 at 1:46 pm
When I went to look into using information_schema I think I came up with a solution for you. Try this out:
[font="Courier New"]DECLARE @idoc INT
DECLARE @doc VARCHAR(1000)
SET @doc ='
<places>
<copy>
<statename34>new mexico</statename34>
<statedesc34>land...
July 31, 2008 at 1:22 pm
Since the ID's are part of the tag I think you would have to do something in .NET or with XSL to parse the tags and create and add the...
July 31, 2008 at 10:31 am
Lookup OPENXML in Books On Line. This converts the XML to a table-like format and then you can do your insert.
July 31, 2008 at 10:19 am
I'd go with the dataflow task as well, but if you are only using 1 spreadsheet you don't need to use the For Each loop. You just need a...
July 31, 2008 at 10:17 am
I think the money data type unless you are working with the federal debt.
The main issue is using currency types in an application as I believe they will use the...
July 31, 2008 at 10:13 am
The answer is "it depends". In reality a cities table with postal codes would be a great thing and if your product only deals with industrialized nations like the...
July 31, 2008 at 10:07 am
Check out the links in my signature and if you follow the advice in those articles you should get some good help and going through the process may actually help...
July 31, 2008 at 9:56 am
I think this will work regardless of the date you pass in.
SELECT DateAdd(Day, -1, DateAdd(quarter, DatePart(Quarter, getdate())-1, '1/1/' + Convert(char(4), DatePart(Year, getdate()))))
July 31, 2008 at 9:51 am
I don't think that there is a way to do this in SSIS. In SSIS you would compile the function in a DLL and then reference the DLL....
July 31, 2008 at 9:38 am
Viewing 15 posts - 8,146 through 8,160 (of 9,641 total)