Viewing 15 posts - 181 through 195 (of 2,487 total)
Peter's response was just on my time conversion. So in my solution you can use style 108 instead of 114.
eg:
select convert(varchar(8), dateadd(second,@sec,0), 108) as WithHour
select right(convert(varchar(8), dateadd(second,@sec,0), 108), 5) as...
--------------------
Colt 45 - the original point and click interface ![]()
August 27, 2007 at 6:00 pm
Actually to be precise { and } are braces, [ and ] are brackets and ( and ) are parentheses.
--------------------
Colt 45 - the original point and click interface ![]()
August 27, 2007 at 4:21 pm
Ah yes forgot about style 108, thanks Peter.
--------------------
Colt 45 - the original point and click interface ![]()
August 27, 2007 at 4:19 pm
Chuck
Here are a few DTS articles that will hopefully bring you up to speed.
http://en.wikipedia.org/wiki/Data_Transformation_Services
http://www.sqlservercentral.com/columnists/rNageshwara/overviewofdtspackages.asp
http://www.devguru.com/features/tutorials/DTS/DTS1.html
--------------------
Colt 45 - the original point and click interface ![]()
August 26, 2007 at 9:12 pm
Try this
declare @sec smallint
set @sec = 133
select convert(varchar(8), dateadd(second,@sec,0), 114) as WithHour
select right(convert(varchar(8), dateadd(second,@sec,0), 114), 5) as WithoutHour
--------------------
Colt 45 - the original point and click interface ![]()
August 26, 2007 at 7:13 pm
The LoadFromSQLServer method loads a DTS packages that resides in SQL Server into memory.
You will need the address of the SQL Server. I'd check that the package exists on the...
--------------------
Colt 45 - the original point and click interface ![]()
August 26, 2007 at 7:06 pm
SET @LoadFromSQLServer = 'LoadFromSQLServer("ip_of_my_webserver", "sql_user", "sql_user_password", 0, , , , "' + @PackageName + '")'
As you're loading from SQL Server, shouldn't the ip address be for your SQL Server not...
--------------------
Colt 45 - the original point and click interface ![]()
August 26, 2007 at 6:39 pm
Try the INFORMATION_SCHEMA views.
--------------------
Colt 45 - the original point and click interface ![]()
August 26, 2007 at 6:28 pm
Have you tried using pull subscriptions?
--------------------
Colt 45 - the original point and click interface ![]()
August 22, 2007 at 10:42 pm
Terrence,
Outlook / SQL integration works well until a) the permissions for the account changes and SQL can no longer access the mailbox, b) Exchange admins reboot their server and...
--------------------
Colt 45 - the original point and click interface ![]()
August 22, 2007 at 4:58 pm
Check the queries that are at the head of the blocking chain. As I mentioned in my other post, without effective indexes the queries will read, and therefore place a...
--------------------
Colt 45 - the original point and click interface ![]()
August 18, 2007 at 8:09 am
So how does this IO compare against your databases?
--------------------
Colt 45 - the original point and click interface ![]()
August 17, 2007 at 2:00 am
Markus, I recall something along those lines as well. From memory, it was something like allocating specific threads to a cpu, but I think this was after the thread had...
--------------------
Colt 45 - the original point and click interface ![]()
August 15, 2007 at 6:19 pm
Have you thought about/tried a non-clustered index covering all of the fields in the where clause?
--------------------
Colt 45 - the original point and click interface ![]()
August 15, 2007 at 6:15 pm
Since you say the stored procedures use temp tables a lot, I'd also look at putting the tempdb data and tempdb log on seperate physical drives (that's two drives).
I'd also...
--------------------
Colt 45 - the original point and click interface ![]()
August 14, 2007 at 4:45 pm
Viewing 15 posts - 181 through 195 (of 2,487 total)