Viewing 15 posts - 6,121 through 6,135 (of 13,469 total)
GSquared (1/12/2012)
But you can query trace files directly, without the import step, by using fn_trace_gettable(). That's what I usually do.
taking that one step further, since you can directly query...
January 12, 2012 at 7:18 am
does your dataset have an ORDER BY?
remember, there is no "default" sorting.
if you do not explicitly order your results, there's no guarantee they will be in any given order.
SQL would...
January 12, 2012 at 6:35 am
when i said parameters, i mean on the report side, sorry for the confusion.
if you are building a string and executing it from your report, without parameters, you need to...
January 11, 2012 at 5:22 am
Oracle_91 (1/10/2012)
This is working perfectly. I am using sql 2005 and sql 2008. However i have few questions.
1. How to unmark the stored procedure as system proc if i...
January 11, 2012 at 4:42 am
you parameters are datetime in the report, right, so they will convert cleanly to the DATE datatype for oracle?
It sounds like you are using varchars instead...
if your parameters are datetime,...
January 10, 2012 at 8:39 pm
excellent, thanks Paul!
added to my toolbox.
January 10, 2012 at 5:51 pm
without using dynamic SQL, you need to rename it to be sp_* and simply want to mark the procedure as a "system" procedure.
use master
go
--any proc starting with sp_ is...
January 10, 2012 at 5:48 pm
SQL Kiwi (1/10/2012)
They're in the keys folder, and also have a different icon in the columns folder.
what app did you use to make the "tearing" with the drop shadow? ...
January 10, 2012 at 5:41 pm
yep you are missing the #1 fix to SQL injection: using parameters instead.
generally, you never want to change users data. using it for comparisons, maybe...but even then, you want to...
January 9, 2012 at 11:56 am
this was interesting...
not sure if you want to get the data as rows or columns, you might need to pivot this data if you need it as columns, see what...
January 9, 2012 at 10:14 am
ugg; except for building a presentation string for binary,
i always leave my values as integers for data manipulation...very easy to test each column for whatever it represents them.
any chance...
January 9, 2012 at 9:43 am
does a SKU have a standard length, like 6 characters?
do you have a lookup table of all skus so you could look up whether it is valid before or after...
January 6, 2012 at 11:25 am
well, first, a .cmd file is just the renamed verison of a .bat file...something you might typically call via command line / xp_CmdShell (if that is even enabled)
that .cmd...
January 6, 2012 at 7:21 am
there's another function for the UTC date you cvan use: GETUTCDATE()
select (UTCOccurrenceDateTime >= DATEADD(day, DATEDIFF(day, 0, GETUTCDATE()), 0))
January 5, 2012 at 10:56 am
i'm guessing someone may have installed the full version of Visual Studio, which would supercede the BIDS version...could that be true?
in that case, there's nothing to do...just open visual studio...
January 5, 2012 at 10:00 am
Viewing 15 posts - 6,121 through 6,135 (of 13,469 total)