Viewing 15 posts - 1 through 15 (of 15 total)
Found the answer on another site:
select DB_NAME() as Database_name, * from information_schema.columns
May 15, 2013 at 2:11 pm
I figured out where I was having a problems when I was doing a lookup with sys.tables it was only bring back the second part of the name. So...
April 25, 2013 at 8:41 pm
I am not familiar with using CTE. I usually work with an older version of SQL Server. I ran the SET script, it is showing the error:
Msg...
April 22, 2013 at 8:46 pm
Rename Table '0%' to '02%'
So that all the tables in the database would have a number 2 in the name.
April 22, 2013 at 8:32 pm
thanks for the code. Not exactly what I was looking to do
I want to able to specify a wildcard like
'O%' to '02%' can I do something like this?
April 22, 2013 at 8:21 pm
Go what I needed (see below). Thanks.
select c.name,c.customerid,c.linkid
,case when c.linkid=x.linkid then x.orderitem end as orderitem
,case when c.linkid=x.linkid...
July 9, 2012 at 11:33 am
J to answer your questions:
can you actually see the relevant tables in SQL 2000 ?
do you have necessary permissions to access the table(s) we are asking you to document?
Yes I...
July 9, 2012 at 9:04 am
Unfortunately I think posting the script info isn't going to help much.
I see other people posting about select into and then Union all.
What I am looking to do is something...
July 8, 2012 at 12:32 pm
What I was looking for was what Grant Fritchey finally posted.
As I mentioned I don't want to post everything for privacy reasons and I would now have to go back...
July 8, 2012 at 10:44 am
I am not sure if I posted my last reply in the correct area, so I am adding it in again. Thanks
Thanks for the info. Can I obtain some...
July 7, 2012 at 5:01 pm
Thanks for the info. Can I obtain some of that info by looking at the properties of the database? It is SQL Server 2000 and I using Management...
July 7, 2012 at 3:20 pm
I read Jeff's posting, especially the part about people posting for homework assignments or a job interview - neither apply in my case.
I am still somewhat new working with...
July 7, 2012 at 2:59 pm
I wasn't sure you meant to post some sample data when you asked for
"'create table' scripts"
July 7, 2012 at 2:33 pm
Here is an example of what I am currently getting and what I need as a result of the query:
I need to display not only the Name and CustomerID of...
July 7, 2012 at 2:25 pm
Thanks for the feedback. I would post the data but for security reasons
I can't. Some of the items in the query have been changed as well for this...
July 7, 2012 at 1:53 pm
Viewing 15 posts - 1 through 15 (of 15 total)