Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
60% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
2 Commented Posts
0 Endorsements
Ranked #1K
~38.7K People Reached

124 Posted Topics

Member Avatar for jovillanuev

> Set @fromdatetime =dateadd(day,datediff(day,0,'2012/06/04'),'00:00') > Set @todatetime=dateadd(day,datediff(day,0,'2012/06/05'),'00:00') The declaration looks fine but for the instantiation you could remove the dateadd functions and use a format that can be converted to express minutes/seconds. I think this would work a smidge more efficiently. DECLARE @fromdatetime DATETIME, @todatetime DATETIME SELECT @fromdatetime = '2012/06/04 …

Member Avatar for lakhe
0
178
Member Avatar for cheapterp

Modifying this query to satisfy your metadata should remove the duplicates using a self-join. SELECT name, ID, [date], gender, birthday FROM <tbl> T INNER JOIN (SELECT ID, MAX([date]) MaxDate FROM <tbl> GROUP BY ID) T2 ON t2.MaxDate = T.[date] AND t2.id = T.id It appears you're querying against data that …

Member Avatar for atinobrian
0
3K
Member Avatar for bilnyg

SELECT A.ATTENDANCE_ID, P.PERSON_ID, P.FIRSTNAME, P.LASTNAME FROM DBO.ATTENDANCE A INNER JOIN DBO.PEOPLE P ON P.PERSON_ID = A.PERSON_ID WHERE P.FIRSTNAME = 'JOHN' AND P.LASTNAME = 'DOE' AND A.ATTENDANCE_ID = (SELECT MAX(ATTENDANCEID) FROM DBO.ATTENDANCE WHERE PERSON_ID = P.PERSON_ID)

Member Avatar for cutepinkbunnies
0
229
Member Avatar for jovillanuev

> My question are: > 1. can I still create SSRS/SSIS. > 2. i have existing RDL,RDS file. still can open it to 2008 express. Answers: 1. You can create all the SSIS you want, but the functionality of the SSIS runtime on express edition is incredibly limited. Basically anything …

Member Avatar for cutepinkbunnies
0
132
Member Avatar for moone009

> object_id index_id avg_fragmentation_in_percent page_count **> 1801213617 0 82.9268292682927 2718** > 1801213617 2 0 369 > 1801213617 3 0 250 The bold record is a heap. (table without a clustered index, which can't be organized. The way you can tell it is a heap is from the index_id column: Index_id …

Member Avatar for cutepinkbunnies
0
144
Member Avatar for Yomet

Hi Yomet, you might want to try something like this and reduce or integrate the xp_cmdshell call. DECLARE @LSName VARCHAR(50) SET @LSName = '' --linked server name BEGIN IF EXISTS (SELECT 1 FROM sys.servers WHERE is_linked = 1 AND name = @LSName) BEGIN BEGIN TRY SELECT 1 FROM --use distributed …

Member Avatar for cutepinkbunnies
0
5K
Member Avatar for elmer0727

The problem is you are looking at a heap, which can't be organized. This is of course providing that the query you executed returns simliar results to 2008/2005 queries... IndexID of 0 = heap IndexID of 1 = clustered index IndexID >= 2 = nonclustered index Here's an article on …

Member Avatar for cutepinkbunnies
0
344
Member Avatar for Sadia fatima

I agree with the opinion of others here, Identities are typically created to be retained...regardless of logical sense. Most database devs that use identity columns use flags instead of removing data from the database. It makes life easier because you don't have to worry about deletes and updates...restoring from backup, …

Member Avatar for cutepinkbunnies
0
774
Member Avatar for gacheson

Hi there, I'd use a webservice to handle that logic if possible. The web service can poll every 5 seconds and cache the results to answer the client requests. Is this possible in your situation?

Member Avatar for cutepinkbunnies
1
147
Member Avatar for scrypt3r

My.Computer.Network.DownloadFile(Address as string, DestinationFileName as string) Read up and make sure you're assembling the strings properly if this is how you are constructing the statement. [url]http://msdn2.microsoft.com/en-us/library/ack30t8y(VS.80).aspx[/url] :) Note how in this example they include a protocol, path, and file name. My.Computer.Network.DownloadFile _ ("http://www.cohowinery.com/downloads/WineList.txt", _ "C:\Documents and Settings\All Users\Documents\WineList.txt")

Member Avatar for Slotes
-1
142
Member Avatar for Gaurav arora

I have a feeling you're going to have to use a cursor to get that kind of result. Read up on them, it should be pretty easy, but keep in mind they are a bit slow if you're using a lot of data.

Member Avatar for crishlay
0
248
Member Avatar for bimaljr

Additionally, if you have to perform this task any more, its quite easy to build a SSIS package to do it for you. That way having a fresh new Access DB is only a click away.

Member Avatar for hostingguru
0
1K
Member Avatar for kiwikiwi
Re: Rfid

wow...this is kind of up my alley here. Ok first, you need to read up on the protocol for reading/writing to and from the read/writer and create code that will assemble protocol-structured statements and pipe them out over the serial port. Once you've got that done its really simple. In …

Member Avatar for kisei
0
237
Member Avatar for vikter

Look in your VB2005/Projects/<ProjectName>/debug/ folder you should see a exe in there. That is the debug exe. This article may help too :) [url]http://support.microsoft.com/kb/304654[/url] Jon

Member Avatar for navneet_dhanoa
-1
621
Member Avatar for StrangeLoops

Hi Strangeloop, That really all depends what you plan on doing with SQL. Are you an IT Amin/Engineer or are you a programmer, if coding...what langauge? Jon

Member Avatar for peter_budo
0
148
Member Avatar for guptaalok12
Member Avatar for smitha86
0
122
Member Avatar for happygeek

Vista clients can be configured to prevent this theft possibility. As a previous poster pointed out, yes good treatment of employees is a great practice for infosec but sometimes this comes down to dollars and potential profit for the thieves. Great article.

Member Avatar for Gilette
0
325
Member Avatar for happygeek
Member Avatar for happygeek

Indeed...most companies tend to strategically word publications and press releases in their favor (Symantec, F-Secure, Sophos, various linux distros, to name a few). Don't let your hatred for Microsoft impair your judgment. Sometimes a comparison is a good selling point and helps prospective buyers and shareholders paint a mental picture …

Member Avatar for Fused
0
286
Member Avatar for Brian.oco

Good Article. That's just bad journalism to seize an opportunity to bash the White House when the President is working hard to fix this subprime issue. I guess now we know how credible and what kind of a bias Yahoo has. Honestly if the Fed wasn't as good as it …

Member Avatar for cutepinkbunnies
0
281
Member Avatar for happygeek
Member Avatar for cutepinkbunnies
0
359
Member Avatar for Brian.oco

Woohoo! About time someone did something about this! I had to pay Sprint buku bucks to early terminate a contract on 5 phones where they changed terms of service overnight and quadrupled my family plan bill (sometime around the Nextel merger). I ended up going over to Cingular because they …

Member Avatar for cutepinkbunnies
0
216
Member Avatar for happygeek

I don't think its Dell's responsibility to cram linux down the throat of its consumers, especially considering profits are greater by installing a MS Operating System. As indicated earlier Dell will incur additional support costs with negative returns to scale and also risk damaging their reputation by soliciting Ubuntu to …

Member Avatar for cutepinkbunnies
0
749
Member Avatar for nmarchetti

I would think the consumers would have realized someone was going to have to pay for the marketing hype of the iphone and should have expected a significant price drop within months of the initial release. Good for Apple, now let’s see if they want to move into gaming consoles …

Member Avatar for AustinK
0
162
Member Avatar for Brian.oco

Great article! Rare find in an IT community but being an eco-friendly person I find it relevant and would like to see more done in alternative fuel research/development. If this is as good as what it sounds it'd be nice to see it actually happen. Note: Prius != Honda

Member Avatar for cutepinkbunnies
0
186
Member Avatar for Brian.oco

Does your Apple client have a spell check button? :P Good article, I agree there has been notable innovation recently from Apple and Google. Either case, product improvements from any and all of these companies (and the FOSS community) contribute to our technological development as a whole, albeit lately everyone …

Member Avatar for cutepinkbunnies
0
129
Member Avatar for happygeek

I don't think MS has innovation problems, but I'm sure there are plenty that would say otherwise. Microsoft is a Corporation whose objective is to make a profit and bring happiness to its shareholders. Web apps are useful indeed...for typing up non-confidential documents on a free platform. In Corporate America, …

Member Avatar for cutepinkbunnies
0
426
Member Avatar for happygeek
Member Avatar for happygeek
Member Avatar for happygeek

It looks to me like Privacy International is playing with fire although I do find Google's response a little inappropriate.

Member Avatar for cutepinkbunnies
0
418
Member Avatar for happygeek
Member Avatar for happygeek

Interesting article! I can understand why some buy in-game currency... With the limited time resources we have, dedicating hours upon hours of generating wealth can be a hassle. Instead of spending 50% of the 6 hours you have available during a week to gathering, you could have 100% of that …

Member Avatar for happygeek
0
382
Member Avatar for newsguy
Member Avatar for happygeek

Informative Article! I could use something like this (a casual photographer) to bring my amateur-like photos to a professional level and to modify focal points to enhance portions of the image sometimes realizing after shooting may give more value to the photo.

Member Avatar for happygeek
0
351
Member Avatar for blud
Member Avatar for happygeek

"Reporters posing as children between the ages of 10 and 14 were exposed to a bombardment of sexually explicit messages from adult men within the Skype chat sessions. One 50 year old man arranged to meet the ‘girl’ at a railway station, and the Sunday Times witnessed him turning up …

Member Avatar for php4ever
0
2K
Member Avatar for John A

One of my friends had his blog shut down becuase of this rule. He is serving overseas as a Reconnaissance Marine and has had his blog/website up for years without incident. Its funny how the govt will trust him (as they trust all Recon Marines) enough to drop a $40k+ …

Member Avatar for ft3ssgeek
0
201
Member Avatar for happygeek

My grandmother once told me "if you don't have anything nice to say don't say it at all", but this time I'm compelled. Author: Have you provided any documentation as to power consumption Vista vs XP? Have you provided any documentation as to power consumption Vista vs Kubuntu vs the …

Member Avatar for RwCC
0
293
Member Avatar for happygeek

I think this idea is great as well, but the only competition is going to be between Dell call center associates and who is going to answer the next Ubuntu call. Just think about the niche Dell has...cheap PC's. So next year 20,000 frugal people will buy a Ubuntu Dell …

Member Avatar for ajax-the-techie
0
212
Member Avatar for mattb0611
Member Avatar for happygeek

Ladies/Gents... Please don't go crazy here but there are significant advantages to Vista. At nearly the same price (OEM) I don't think MS is scaring people away, except those that are afraid/reluctant to change.

Member Avatar for Infarction
0
596
Member Avatar for John A

I agree with the author about the anti-Vista advertising. The Apple commercials yes may be humorous, but are misleading and slanderous. Just think, an operating system reducing itself to using advertising tactics like that of politicians.

Member Avatar for 'Stein
0
327
Member Avatar for Athersgeo

Hi Athersgeo, Believe it or not, this is a feature of SSIS. The best way to handle flat file importing is mapping the flat file connection EXACTLY the way the file is mapped and configuring the source to perform how you want it to when anything different presents itself (failure …

Member Avatar for cutepinkbunnies
0
137
Member Avatar for kunalashar

Hi there. Have you by chance attemped any type of batching? I'd queue up the record and try to batch them first, say 50,000 recs for each batch? See if that makes things any easier and let us know what you find. EDIT: Also check your disk I/O. You can …

Member Avatar for cartman714
0
175
Member Avatar for fayola

This old function I made may help as it demonstrates the concepts of looping with SQL (without a yucky cursor!). [CODE="SQL"]CREATE function [dbo].[fn_Is_Uppercase] (@string varchar(1000)) returns bit as begin declare @r bit declare @l int declare @i int --trim it up set @string = mrm.dbo.trim(@string) --need to check every character …

Member Avatar for fayola
0
240
Member Avatar for vuyiswamb

[URL="http://msdn.microsoft.com/en-us/library/ms189461.aspx"]This[/URL] may correct the issue if implemented correctly, and at the same time eliminate the need of your functions. To correct the function and not use an Over Clause, just make sure you search for that particular string/value in the field before you insert into it into the destination column. …

Member Avatar for vuyiswamb
0
159
Member Avatar for jetjash

Wow. Few issues I noticed with this: 1. There is no group by clause. You'll want to group by Cardno and cardeventdate when trying to aggregate. 2. Look out in your where clause!! 2A. You are passing a zero padded integer to compare to a nvarchar. Not typical programming, and …

Member Avatar for cutepinkbunnies
0
124
Member Avatar for Suryaahh

Look through the metadata functions available in your database. Specifically, the columnproperty() function looks like it may be of some use for you. As suggested earlier the question was a bit vague. You might be looking for some of the functionality sp_help provides. In that case, you can peek through …

Member Avatar for cutepinkbunnies
0
70
Member Avatar for shashkun

Hi, Could you provide us with a few sample rows of data. SSIS/DTS should be able to do the trick (commonly work with CSV data), we just need to see the data so we can put you in the right direction.

Member Avatar for cutepinkbunnies
0
83
Member Avatar for jp2sql

You need to use the logic in the SP to concatenate a dynamic SQL query, then execute the query. Right now you know your parameter is going in right, you just now have to concatenate properly and execute a dynamic SQL query :)

Member Avatar for AntonioGK
0
81

The End.