Viewing 15 posts - 16 through 30 (of 253 total)
About the data type, SQL Server determines it based upon what you provide as the calculation. That statement and more can be found at this link: http://www.winnetmag.com/Articles/Index.cfm?ArticleID=22831&DisplayTab=Article
It sounds like...
April 4, 2005 at 9:05 am
I believe the syntax you want for ElapsedDataTime is as follows:
, ElapsedDataTime AS DATEDIFF( minute, OnloadFormDateTime, FormDataInsertDateTime )
The above will define it as a calculated column meaning it has no...
March 31, 2005 at 8:24 pm
Sorry. I forgot a string concatenation.
change:
SELECT @Members = case when @Members = '' then '' else ', ' end + FirstName + ' ' + LastName
to:
SELECT @Members = @Members +...
March 31, 2005 at 7:46 pm
I think a little more information is needed. Are you directly updating Customer_Payors or is there some sort of relationship being applied that is causing Customer_Payors to be updated indirectly?...
March 31, 2005 at 7:40 pm
I believe the only set based way to do this is through the use of a function that performs in essence a subselect. Outside of a function I think you...
March 31, 2005 at 6:35 pm
You can't use GROUP BY unless all non grouped columns are agregate results. If you want the 90% rows actually individually reported you have to drop GROUP BY and go...
March 31, 2005 at 4:37 pm
Export it as described in my second post and import it into Excel.
March 31, 2005 at 11:04 am
Another option is to export the table content. From EM right click on any table (doesn't matter), choose "export data" within "All Tasks". Follow the guide. You can choose a...
March 31, 2005 at 10:18 am
Open Query Analyzer, enter your query, either choose "Results in Text" from the Query Menu or press CTRL-T, run your query, left click within the results pane, choose "Save As"...
March 31, 2005 at 10:10 am
I would say it can probably be determined, but I don't know what tools out there can perform the analysis. Basically, since everything (should) be logged, the transaction log file...
March 31, 2005 at 10:06 am
Look up fn_listextendedproperty within BOL (Books Online). We don't use them (knowingly) so I can't give you much more help than just pointing you to BOL.
March 30, 2005 at 3:06 pm
Following is the procedure I use to defragment the database. 90% of it was originally stollen from somewhere. I think BOL. If not then I stole it from this site...
March 30, 2005 at 1:51 pm
I have a scheduled job that defrags all indexes in all databases based upon DBCC SHOWCONTIG results. Over the weekend the job runs in about 30 seconds to handle about...
March 30, 2005 at 1:38 pm
We have seen that as well. Once the device gets corrupted (such as the second version in my initial post) all subsequent attempts fail. We have corrected that by making...
March 30, 2005 at 12:43 pm
Try changing database ownership to SA or whatever user you like to have as the owner.
You can test this on a not development box, or at least a non production...
March 30, 2005 at 9:40 am
Viewing 15 posts - 16 through 30 (of 253 total)