Viewing 15 posts - 12,631 through 12,645 (of 13,469 total)
wouldn't this query return all duplicates:
SELECT Acct_Num_CH from TrxDetailCard
WHERE (Date_DT >= cast( convert( char(10), getdate(), 121 ) as datetime ))
group by Acct_Num_CH
having count(Acct_Num_CH) >1
with that, i think...
March 22, 2007 at 2:18 pm
in my case, I have a search function that does the top 50 similar to what you were asking for///however when i need the next 50, i make sure the...
March 22, 2007 at 1:33 pm
most likely true now that i re-read the question; like almost of your posts, I try to give a solid working answer on a question, when it is worthy...but i...
March 20, 2007 at 8:48 pm
i have this procedure which is designed to handle FTP to a site, with some minimal validation as to whether it sent or not...hope this helps: you'd want to expand...
March 20, 2007 at 11:48 am
Assuming Resum is the same as BookNum that appears in most of the tables:
SELECT BookNum,X.PRICE + Y.PRICE + Z.PRICE AS PRICE
FROM HotelSegment
LEFT OUTER JOIN (SELECT BookNum ,SUM(Price) AS PRICE...
March 20, 2007 at 8:24 am
if the contactEnquiries table is small, the optimizer will always do a table scan regardless, and ignore the index;That means if the table is less than 8MB in size, it will always...
March 20, 2007 at 6:21 am
here is an example:
results:
| TableName | ColumnName | DataType | prec | ISNULLABLE | colid | VALUE |
| T1 | id | INT | 10 | NOT |
March 19, 2007 at 3:07 pm
the sp_addextendedproperty Mohammed mentioned is the Description field you are talking about.
From enterprise manager, no you cannot add columns tot eh design view of the tables....but you can select it...
March 19, 2007 at 2:45 pm
could this be realted to the parameter sniffing issue that sometimes occurs...that is exactly the symptom...works fine with static value, very slow with variable... search for parameter sniffing and see...
March 19, 2007 at 2:25 pm
as i remember, the trick is to select the TOP N of a sub select:
select TOP 12 empid,empname from emp order by empid contains all teh records you want, so...
March 19, 2007 at 2:14 pm
here's an example; this is getting everything out of a table in a loop, and should give you the framework you are looking for:
Private Function ExportBlobs()
Dim ConnObj...
March 16, 2007 at 4:00 pm
yes, and that's exactly what we do in our shop...we make multiple ERD's, each related to following a specific flow of data...one for product and it's attributes, another for orders...
March 15, 2007 at 5:15 am
ok poking around the registry, i found this key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\NUMBER_OF_PROCESSORS
now to read that from each machine on the network , i would simply create a program to read that key...
March 14, 2007 at 4:55 pm
that registry entry i found is not accurate, you are right...my home machine, which is just a single processor AMD64 has a registry entry of EIGHT processors for that value...I'll...
March 14, 2007 at 4:43 pm
there may be other ways, but i found this snippet on sqlteam:
-- Get the number of processors that the server has
declare @NumProcs int
EXEC master..xp_regread
@rootkey = 'HKEY_LOCAL_MACHINE',
@key...
March 14, 2007 at 1:55 pm
Viewing 15 posts - 12,631 through 12,645 (of 13,469 total)