Viewing 15 posts - 6,286 through 6,300 (of 13,469 total)
ALZDBA (12/5/2011)
- did you update all statistics
- did you perform dbcc updateusage
- did you perform full db maintenance
- did you run...
December 6, 2011 at 8:20 am
ChrisM@Work (12/6/2011)
Cool, thanks for the feedback. I learned the trick from an article Lowell did years ago 😀 Thanks, Lowell.
Lol you used it last, and I don't really remember posting...
December 6, 2011 at 7:36 am
Dev (12/6/2011)
Please try convert with style 108.
i would disagree; you want to stay in the same datatypes whenever possible.
/*--results
09:00:50.9600000
09:00:00.0000000
*/
--SQL2008 has the new Time datatype as well as the...
December 6, 2011 at 7:01 am
SSIS is reading a text file, so yes, it's text until it's implicitly or explicitly converted to a specific datatype.
so if you had the SSIS task read the file and...
December 6, 2011 at 6:40 am
how are you importing? SSIS? BULK INSERT? are you importing to a staging table first?
I'm sure there's an explanation, we just gotta dig a little bit.
December 5, 2011 at 1:30 pm
I'm still wondering how to implement this myself...if the Pk is a foreign key in the child table, won't the FK prevent you from changing the key to a new...
December 5, 2011 at 1:27 pm
if an application is building SQL statements and executing them, then your database and it's objects could be version 9/10 compatible, but the commands create by the application may...
December 5, 2011 at 12:57 pm
well, what you are asking is how to create an Excel document with multiple sheets; '
a CSV is actually a raw text file, which by default opens in Excel, which...
December 5, 2011 at 12:35 pm
any chance teh report is returning results that create something like this, which would of course return no records?
WHERE (recordDateTime BETWEEN '2001-01-01' AND NULL)
December 5, 2011 at 12:30 pm
MyDoggieJessie (12/5/2011)
I assume you're using a linked server....can you post the SQL statement please?
if you are using parameters, you are making sure the datatype of the parameters are datetimes and...
December 5, 2011 at 12:21 pm
mySQL does not support Common Table Expressions. SQL and Oracle do, and you asked ina SQL forum.
instead, you have to move the example into a named Alias...same thing, just...
December 5, 2011 at 11:02 am
Dev (12/5/2011)
CAST and CONVERT...
December 5, 2011 at 10:34 am
Paula here's an example i built for another post, I think it describes everything you are looking for.
the key is to apply a default schema to the users; then any...
December 5, 2011 at 8:58 am
i'm not sure why you wnat to loop; you could do the entire table in a single pass
something like htis:
SELECT ' Invalid data: record '
...
December 5, 2011 at 8:10 am
you have to join a Calendar table of some sort in order to generate your missing values.
Search here on SSC for Calendar Table or Tally Calendar.
If you can show us...
December 2, 2011 at 2:55 pm
Viewing 15 posts - 6,286 through 6,300 (of 13,469 total)