Viewing 15 posts - 271 through 285 (of 423 total)
Just a side issue, but an important one. I think it was Jeff who some time ago posted something about always validating any string being converted to a datetime datatype....
February 9, 2013 at 10:54 pm
Just for fun I decided to run each of these three methods (plus a fourth one I thought of later) to see which would perform the best. It's hard to...
February 8, 2013 at 11:44 pm
Want a cool Sig (2/8/2013)
Similar to the one above... you can run this entire script and see the results...The one above was missing the Vulerability ID field...
You're correct. An oversight...
February 8, 2013 at 1:28 pm
Sean Lange (2/8/2013)
dwain.c (2/7/2013)
SELECT Div_time, Unit_id
,TimeDifferenceMin=DATEDIFF(minute, MIN(Filled_Time), MAX(Filled_Time))
FROM #Something
GROUP BY Unit_id, Div_time
HAVING MAX(Filled_Time)...
February 8, 2013 at 8:31 am
--create some test data
IF OBJECT_ID('tempdb..#TempTable') IS NOT NULL
DROP TABLE #TempTable
CREATE TABLE #TempTable (
[ComputerID] INT IDENTITY(1,1) NOT NULL,
[ComputerName] NVARCHAR(50) NULL,
...
February 7, 2013 at 5:57 pm
This isn't too different than what Scott offered but here's my contribution:
LOCATION
LocationID
LocationType
LocationParent (let's you build a hierarchy)
LocationName
(etc)
LOCATION_TYPE
LocationTypeID
LocationTypeDesc (content examples: HQ, Store, Warehouse, Fulfillment, etc)
CONTACT
ContactID
LocationID
ContactName
ContactAddress
ContactSort ...
February 7, 2013 at 4:57 pm
I made an assumption that you make two readings and two readings only on each machine. That assumption let's me join the table on itself and put the two readings...
February 7, 2013 at 4:01 pm
JP10 - Here's a timely article on table partitioning posted in today's SQL Server Performance Newsletter:
http://www.brentozar.com/archive/2013/01/best-practices-table-partitioning-merging-boundary-points/
February 7, 2013 at 10:07 am
Sounds like you have two problems. Large inserts and even larger deletes. I'd do something like this:
1. First create a partitioned table.
MSDN: http://msdn.microsoft.com/en-us/library/ms188730(v=sql.105).aspx
2. Import the 4000 inserts into a heap...
February 6, 2013 at 8:32 pm
SQLJocky (2/6/2013)
February 6, 2013 at 7:08 pm
Full-text search is great but you must change your thinking a bit. It is a ranking system based on proximity (how close together are the search terms) and inflection (grammatical...
February 6, 2013 at 6:56 pm
SQLJocky (2/6/2013)
February 6, 2013 at 5:37 pm
mpradeep23 (2/6/2013)
i want to move data increment every 3 min
Then one option would be to create the export via Tasks | Export Data and save it as a package you...
February 6, 2013 at 10:46 am
It's not SSIS, but from SSMS you can right-click on the database, select Tasks | Generate Scripts. This utility will let you select whatever objects you want to copy including...
February 6, 2013 at 8:34 am
ChrisM@Work (2/5/2013)
Steven Willis (2/5/2013)
If this function is taking two hours to run--even with all of the cursors and subcursors--then you are probably accessing a LOT of data....
February 5, 2013 at 11:23 am
Viewing 15 posts - 271 through 285 (of 423 total)