Viewing 15 posts - 121 through 135 (of 1,047 total)
Thanks for the additional info. PK clustered on a varchar() column (a GUID no less) and 12 non-clustered index.
There are probably some FKs in the table as...
February 21, 2013 at 12:06 pm
can you provide the table and index definitions?
Is there a trigger on the table?
February 21, 2013 at 11:24 am
gmac 41947 (2/21/2013)
When I insert throughout code (variables, bcp command...) in .bat file, and I reference this...
February 21, 2013 at 6:20 am
Once your data is on someone's computer your data is no longer protected from others.
I would recommend encrypting the important data items and develop a key management scheme that would...
February 21, 2013 at 6:16 am
add those minutes to a date @ 00:00:00 hrs then format as a time. As an example:
declare @mins int
set @mins = 150
select convert(char(5),dateadd(minute,@mins,'01/01/2013'),108)
February 20, 2013 at 2:59 pm
You should use bcp utility. It is included as apart of every SQL Server installation. It is a command line utility, you specify what data is to be exported...
February 20, 2013 at 1:26 pm
brad.blackburn (2/20/2013)
February 20, 2013 at 1:15 pm
The chances of you seeing other processes in "runnable" state is quite high since your process (sp_who2 or something) is currently consuming CPU time.
Remember the old adage: "A watched pot...
February 20, 2013 at 11:42 am
yes I can, but from what you are describing, scripting out the roles and permissions from production and executing it on the dev server will not give you what you...
February 20, 2013 at 8:45 am
Jeff Moden (2/20/2013)
Can you think of a way to have the date come out in the ISO format of YYYYMMDD to support sortable file names using the batch commands?
didling with...
February 20, 2013 at 8:38 am
I have proc that will script out all the users, roles and their permissions if you want it.
But I would make two other suggestion which would be simpler:
1) import the...
February 20, 2013 at 8:16 am
insert into testing
select '16456456456456456456456456456456546546456456456456456456'
union select '2'
union select '11'
union select '1'
select * from testing
order by len(big_number), big_number
February 20, 2013 at 7:47 am
you are running bcp from a shell, so get the current date (M/D/Y) part into a variable:
set DATEVAR=%DATE:~4,10%
as part of a filename you probably want to change the / ...
February 20, 2013 at 7:33 am
push another copy of the file over for SSIS to use.... or push another copy over for users to look at.
February 20, 2013 at 7:25 am
I would use -N option (native mode) for what you are doing instead of -c
February 20, 2013 at 7:20 am
Viewing 15 posts - 121 through 135 (of 1,047 total)