Viewing 15 posts - 5,356 through 5,370 (of 7,636 total)
Jeff Moden (10/7/2008)
October 7, 2008 at 8:36 pm
Here's an article from last year that may help: http://www.sqlservercentral.com/scripts/T-SQL+Aids/30754/
October 7, 2008 at 6:25 pm
This is the only thing that I can think of that might work (see attached).
I am not too familiar with this approach of using the XML bulk loader and annotated...
October 7, 2008 at 4:47 pm
Like this:
declare @rows int
set @rows = 2001
select TOP (@rows) *
From master.sys.system_columns
October 7, 2008 at 4:19 pm
This process appears to be broken already, even before your back-end batch processor is added:
What prevents two processes from both reading 1000 from the table and both writing 1001 back...
October 7, 2008 at 4:14 pm
Shree (10/7/2008)
Thanks for your help but i have a...
October 7, 2008 at 4:04 pm
Jason (10/7/2008)
I don't have access to change the SQL Server Surface Area Configuration.
Do you have sysadmin in SQL Server or access to the 'sa' logon?
October 7, 2008 at 3:43 pm
I think that this should do it nicely:
/*
Simple Dynamic Pivot Example:
*/
--====== Create really cool test data
Select distinct Table_name as [State], Column_name as [City]
Into #Cities
From INFORMATION_SCHEMA.COLUMNS
--====== Determine the maximum...
October 7, 2008 at 3:38 pm
It is not built-in to SQL Server to work that way. However, some folks have written procedures or programs that can do it. Hopefully someone here can provide...
October 7, 2008 at 2:56 pm
Well it depends on what you are trying to pass it to. Please provide code examples of what you want to do and we will try to show you...
October 7, 2008 at 2:52 pm
dr_csharp (10/7/2008)
Jason Shadonix (10/7/2008)
You might also need to give that inner query an Alias?SELECT Tab.A,Tab.B FROM (SELECT * FROM Table) Tab
thanks Jason you are right,but why we do this ?
i...
October 7, 2008 at 2:26 pm
Jason (10/7/2008)
October 7, 2008 at 2:20 pm
Pass a parameter from a temp table to what? It is not at all clear what you mean. Could you provide some examples of what you would like...
October 7, 2008 at 2:12 pm
Viewing 15 posts - 5,356 through 5,370 (of 7,636 total)