Viewing 15 posts - 1 through 15 (of 34 total)
May be if someone wants scripts for many objects all in one shot... not sure if SQL-Server does that for many objects at a time. Does it?
Ohh hell ya!!! It...
November 1, 2009 at 9:25 pm
Then again....would someone tell me why would I go about generating scripts like the way that was shown here when SQL server itself provides all the necessary options to script...
November 1, 2009 at 6:56 pm
Nice script there, I too had written a similar script
http://www.sqlservercentral.com/scripts/insert+script+generator/65407/
but the bad thing about mine would be the fact that I had made use of cursors....and also since it was...
June 17, 2009 at 11:07 pm
I think the system generated would do fine for me.....but informative though ...
and I was wondering why not use the keyword QUOTENAME to get the table name in square brackets...
June 11, 2009 at 3:48 am
Are you using SQL Server 2005 Express?
May 19, 2009 at 9:17 am
WayneS (5/18/2009)
see if this helps you out:
execute sp_configure 'show advanced options', 1
reconfigure
execute sp_configure 'ad hoc distributed queries', 1
reconfigure
execute sp_configure 'show advanced options', 1
reconfigure
Hey Joseph,
the answer to the question you had...
May 19, 2009 at 9:03 am
anu1krishna (5/16/2009)
declare @id int
set @id=select top 2 id_num from new_employes order by id_num desc
select id_num from new_employes where id_num=(select min(@id)from new_employes)
but i am...
May 17, 2009 at 1:45 am
Hey FoxJazz,
I couldnt really read through all the posts..but from what I have understood , ur requirment seems to be that from the set of records having the same application...
March 23, 2009 at 12:19 pm
Well Jack,
You might wanna have a look at this stored procedure that I had written a few months back......similar to what you were trying to achieve......
http://www.sqlservercentral.com/scripts/insert+script+generator/65407/
Using the above sp that...
March 23, 2009 at 11:48 am
Could you tell us how the following fields overtime1, overtime2,overtime3 are required?
I feel that a single overtime column field would do based on your requirement... Or have you missed out...
February 16, 2009 at 2:17 am
if so you could look it up in the sys.columns tables....for the constraint info you could use the sp_helpConstraint followed by the table name to list the column names that...
February 15, 2009 at 8:05 am
Are you looking for coulmn information with respect to a table?
February 15, 2009 at 8:00 am
Now at one glance I feel that if all you require is the output based on your two paramenters then there is a function which you could make use of.
That...
February 11, 2009 at 1:30 am
Now if you would like to generate insert scripts for your table please refer this script that I had created for this very purpose.
http://www.sqlservercentral.com/scripts/insert+script+generator/65407/
February 11, 2009 at 1:11 am
well you see if you think writing all the 50 columns is stoping you from going with the above mentioned solution....let me share with you a small tip to counter...
February 11, 2009 at 1:08 am
Viewing 15 posts - 1 through 15 (of 34 total)