Viewing 15 posts - 211 through 225 (of 684 total)
Hi Sharon,
This has to do with cursors. Have a look at the following post on the msdn forums, along with the supplied link to an msdn article. That...
April 3, 2008 at 1:11 am
Rajesh,
It's changed in SQL 2005, you have to do it through setup. Have a look at this article:
April 3, 2008 at 1:08 am
saratheamit2006 (4/3/2008)
can anybody tell me how can i create new user login in sql server 2005 for my...
April 3, 2008 at 12:59 am
Seeing as none of your functions are working let's look at the small test function you created. What do you get when you run:
select dbo.FNTest()
April 3, 2008 at 12:56 am
shine.mm (4/2/2008)
What i would need is i would like to know each databases,Which are the Objects(Tables,Stored Procedures Etc.)not belong to the schema DBO.
Fist i need to know which are the...
April 3, 2008 at 12:48 am
There's no such thing as an implicit or explicit stored procedure - as far as I'm aware anyway.
April 3, 2008 at 12:37 am
You can script all the database objects (including tables if you wanted to). Right-Click on the database, go to All Tasks > Generate SQL Script and follow the instructions...
April 3, 2008 at 12:35 am
There's an even neater trick in Management Studio.
Expand the table, select the Columns folder and drag it into the query window - all columns are added in a comma-seperated fashion.
April 2, 2008 at 4:43 pm
Good suggestions Mark. The first one (using the Max method) is the option to go with as that requires a third the number of reads as my method, which...
April 2, 2008 at 8:38 am
sp_help_jobschedule returns the schedule for just one job. You'd have to query the table sysjobschedules yourself to get this information out.
April 2, 2008 at 8:27 am
Peter,
You're already along the right lines. Try this:
select c.contact_ref,
...
April 2, 2008 at 8:14 am
Unfortunately there's no easy way of doing this.
The truth is though, that you shouldn't really be doing a select * from...
You should identify each field that you want to return.
Not...
April 2, 2008 at 7:56 am
Check out this article - it should get you started on the right track: http://www.sqlservercentral.com/articles/Test+Data/61572/%5B/url%5D
April 2, 2008 at 4:39 am
Jeff Moden (4/1/2008)
Ah ha! Finally! A challenge! If you would, post the resulting table creation script so I can duplicate what you have... the race is on!...
April 1, 2008 at 2:48 pm
John Rowan (4/1/2008)
April 1, 2008 at 1:25 pm
Viewing 15 posts - 211 through 225 (of 684 total)