Viewing 15 posts - 76 through 90 (of 107 total)
I think i know how to perform the spaces now i tried it on an insert into can we perfrom this on an insert Into statement
So for a statement...
September 16, 2010 at 2:40 pm
First of all thanks for the scripr and i ran it this way as shown below but the company name and confidential are diaplyed together can i insert a break...
September 16, 2010 at 2:30 pm
how can i accomplish that can we declare without creating a procedure in sQL. I hae somefamiliarilt with PL/SQl procedures but not SQL server which is partly why i am...
September 15, 2010 at 12:26 pm
Thanks for the script but my problem is that i have to check if column A exists than add BCD if B exists add ACd and so on, and there...
September 15, 2010 at 11:49 am
Thanks the Merge was really helpful, will use it
thanks again
September 15, 2010 at 11:33 am
no there are no fancy columns, and i do get the inserted message, May be i should show the table info after the insert to show me the insert results....
September 14, 2010 at 5:05 pm
I think i got it the problem was that
on the else statement where the insert is specified i had to have [] specified for every column instead of simply...
September 14, 2010 at 4:53 pm
I get an error with the begin end as well
Msg 156 level 15 state 1 line 7
Incorrect syntax near the keyword Else
Msg 102 level...
September 14, 2010 at 4:29 pm
does anyone have any idea about this or can point me somewhere
oh by the way i now know a way to create update statements for all the tables...
August 20, 2010 at 9:58 am
now i know that i can combine the two procedurs but yet to come up witha way to update all the XXXID's in the datbase with the new XXXID's...
August 19, 2010 at 10:58 am
i didnot have the where clause in select which is why it was not working
If exists
(Select * from departments where XXID = 106 and XXID = 20)
Update Departments...
July 21, 2010 at 1:08 pm
Is there a way we can create a procedure and call it in a script that would be a neat thing to learn please let me know if anyone...
March 23, 2010 at 11:27 am
Also i used the trycatch on alter table as shown below and got an error as
Msg 2705, Level 16, State 4, Line 240
Column names in each table must be...
March 23, 2010 at 11:14 am
Thanks that works with the try and catch, I am creating a bunch of tables and wonder if i have to define a try catch for every create statement, is...
March 23, 2010 at 11:05 am
just trying to add a column ( for eg title to table person and update its values ), sorry for the confusion I think i found the way for try...
February 3, 2010 at 5:13 pm
Viewing 15 posts - 76 through 90 (of 107 total)