« first day (1712 days earlier)      last day (2606 days later) » 

6:31 AM
hello, war.
 
7:11 AM
@War have you ever used SSIS?
 
7:28 AM
@War have you ever used SSIS?
 
 
1 hour later…
8:55 AM
morning
 
hey andy, morning, what's up buddy?
 
9:13 AM
Morning @AndyK, @ARr0w
 
War
@AndyK thanks man ... glad you like it :)
@ARr0w yeh I have done in the past, an earlier version of what I have now started out that way
I found it to be a bit a twitchy though ... it would do something odd and tracking down the problem was often a nightmare
SQL never seems to give any meaningful information about a problem like .Net does so that problem and a few other key pieces of information led me to believe that the db was not the place to be putting business logic
 
@War It also has quite a few generic error messages, especially around logins >:(
 
War
@Shaneis yeh i've noticed that too ... and it loves to pass you raw errors from the OS
"error at memory address <some string of numbers>" ... oh great, wtf am I supposed to do with that
 
@War yup! ok, I'm going to get coffee before I get angry this morning!
 
War
lol ... coffee, yup, sounds like a good game plan
 
9:23 AM
@War oh yeah! Hold on, let me just crack this debugger/compiler that you didn't include or tell me that I needed to have/learn!!!
 
War
lol
 
9:43 AM
hey shaneis!! :)
morning.
hahahaha
war, you are good at making him angry :P
 
War
yeh ... sorry about that ... i come in here drop a point bomb and leave
 
10:39 AM
hey hey @ARr0w, morning!
Yeah he's good at that...
 
11:37 AM
shaneis, have you used SSIS?
 
Only for about a month @ARr0w
depending on the problem I may be able to help, but it's doubtful
 
12:23 PM
its okay
i did it :P
By the way, its my second day on job :D
congratulate me :D
 
12:50 PM
@ARr0w hey man, congrats!
 
1:01 PM
hello, I inherited a database application with a lot of primary keys created with some specific names.....I need to rename all primary keys by using the sys name, such as SYS_C002383...I wrote a SQL script band and I am stuck this line: ALTER TABLE test RENAME CONSTRAINT test1_pk TO ???; how to set a generated name??
 
@javaEE-Newbie What database and...why do you need to remove specific names on PKs?
I'd argue FOR specific names on PKs...
 
sry it is Oracle
I need to rename these specific names on PKs
to a constraint name generated by the database like 'SYS_C=---'
*SYS_C...'
 
@javaEE-Newbie Why? What is the logic behind this?
 
we want the database to use consistent constraint_names.....Most of the constraint_names have like "SYS_C...", there are few of them who have a specific name
I wrote a script which select these specific names in a loop, but I dont know how set a new "generated" name by database
 
@javaEE-Newbie alright, fair enough I suppose
the only problem with SYS_C names is that they are system generated and, as far as I know, can only be generated when you run a ALTER TABLE ADD PRIMARY... without specifying a name for the PK.
If you want consistent naming convention, I'd flip your script to look for those SYS_C's and then change them to a naming convention you want
 
1:14 PM
aha ok, thx for your help
 
@javaEE-Newbie good luck
 
Do you know how to find the column name when the constraint name is known?
like here: SELECT owner, table_name FROM dba_constraints WHERE constraint_name = <<your constraint name>>
In my case, I need the column name
 
1:31 PM
for Oracle, I check out Ask Tom. He's got some good scripts, check it out here
 
congrats @ARr0w ! woot !
 
@AndyK ha! just realised you and @ARr0w both have new jobs :)
so congrats to you too man!
 
thanks matey
 
War
1:55 PM
@javaEE-Newbie sys.objects will have the stuff you need
 
2:11 PM
thx
Alter TABLE ADD PRIMARY KEY(NEED TO USE A SUBSELECT HERE)?
I want to fetch the columns first
sry I dont want to post the whole script because it is too long, i just need to make a subselect which selects a specific column and pass it to the primary alter statement
 
 
3 hours later…
4:59 PM
Heading off, talk to ya!
 

« first day (1712 days earlier)      last day (2606 days later) »