Viewing 15 posts - 1,531 through 1,545 (of 13,469 total)
nothing within SQL. SQL doesn't do files, technically.
SSIS or SSRS subscriptions can export data to native excel format.
otherwise, not really.. you have to use something external, like a CLR, Excel...
August 28, 2015 at 8:27 am
my example i provided made sure the valuewas converted to date type. As Luis pointed out, converting the date to a string in this format:2015-04-01 is now ten characters, with...
August 28, 2015 at 8:21 am
SQL's bcp does not create native xls files.
it only creates flat files with the delimiters you specify(tab delimited/comma delimited/custom delimited.) so your file is a text file with the...
August 28, 2015 at 8:15 am
Michael Meierruth (8/28/2015)
Has anyone ever done the reverse operation? I.e. a table from a web page saved to an html file loaded into a SQL Server table.
I user a CLR...
August 28, 2015 at 6:28 am
we'd have to see your trigger. is your trigger enabled? is it referencing the procedure by full path, ie master.dbo.yourproc?
August 27, 2015 at 11:37 am
aleksandra 81219 (8/27/2015)
I have multivalue parameter @multiple_weeks with can be for example '20010101,20010108,20010115'
and i need to execute my procedure for 20010101...
August 27, 2015 at 8:20 am
you want to create a SQL job that calls your procedure.
that job has a schedule, so you can call it once day/hour whatever.
you can leave it to run forever, or...
August 27, 2015 at 7:41 am
yep better monitoring for performance, and better monitoring for sub optimal best practices;
an in your face gui and chart for things that are slow gives you motivation to...
August 26, 2015 at 1:36 pm
just a guess, but cound the query might be truncating at exactly 2000 characters? it looks pretty darn close, maybe there's an odbc limitation somewhere?
can you switch to calling a...
August 26, 2015 at 12:27 pm
i just had somethign similar, where the column value was the result of a convert(varchar,columnname) function.
I had to right click on the data source and select "Show Advanced Editor.
Then the...
August 25, 2015 at 9:31 am
this data is preventing the delete: there's child records in PharmInvOutItemPackageReceipts, that either need to be deleted first or ignored,and delete everything else based on the cutoff date.
SELECT...
August 24, 2015 at 2:55 pm
based on the name, you are querying a view (_VW)
so it doesn't matter what columns are included in your query, it's the underlying tables that are assembled in the view...
August 24, 2015 at 2:45 pm
if you call top 250, do you get 250 records?
if you call top 100 or top 101, and you get exactly that many records, then there are more records...
August 24, 2015 at 2:13 pm
one of the first things you need to do when you upgrade from a lower version to a higher version, is to update statistics.
the engine uses stats differently, and...
August 24, 2015 at 10:43 am
https://msdn.microsoft.com/en-us/library/ms174383.aspx
Note
If string_expression is not of type varchar(max) or nvarchar(max), REPLICATE truncates the return value at 8,000 bytes. To return values greater than 8,000 bytes, string_expression must be explicitly cast to...
August 24, 2015 at 9:57 am
Viewing 15 posts - 1,531 through 1,545 (of 13,469 total)