all groups > sql server misc > august 2004
EXECUTE 'tsqlstring' with parameters
Posted by Russ Ferrill at 8/24/2004 4:49:44 PM
I'd like to be abe to dynamically build a tsql command to execute a stored
procedure that takes parameters. Is this possible?
... more >>
Compare like data
Posted by GitarJake at 8/24/2004 1:30:41 PM
Hello all,
I am new to sql and have some Access experience.
In sql, how do I: compare 2 identical tables, (except for data); then update
table 1 with new data from table 2
TIA
Jake
... more >>
Removing Old/Unused Stored Procs....
Posted by Tam O'Shanter at 8/23/2004 8:54:10 PM
Hello Friends,
Situation:
I have been charged with cleaning up a large legacy database.
During this process I have identified tables no longer used and removed them
from the schema.
Question:
I now have may stored procs that reference these tables and are no longer
needed.
How can ... more >>
Passing a table or cursor into a stored procedure
Posted by Russ Ferrill at 8/23/2004 8:25:01 PM
I have a stored procedure that I would like to be able to pass a table or
cursor into so that it will process whatever records are contained in the
input data. Is there any way to do this in T-SQL? If not, can somebody
suggest a good workaround? Thanks very much in advance.
... more >>
Converting Date+Time to Date
Posted by Maziar Aflatoun at 8/21/2004 3:54:20 PM
Hi everyone,
I have a database with a date field 'StartDate' as smalldatetime. I need to
grab the date part and not the time part.
Ex. 2004-08-01 00:00:00 all I need is the 2004-08-01
How do I do that using SQL (Convert or Cast?? )?
Also, is there another datatype I can define it as in... more >>
2nd Try: Restore Database Dialog missing Backups (Archive BIT)
Posted by Doug Crabtree at 8/17/2004 11:43:40 AM
I have a strange problem with restoring files. I have one SQL server
installation that does not show any .BAK files that no longer have the
archive bit set. Is there a switch somewhere that I can throw to
change this back?
I have 3 other SQL server installations in different places that do
... more >>
How to delete a database without name
Posted by Edgar Walther at 8/13/2004 12:01:45 PM
Hi,
In my databases list there is one database with an empty name. I don't know
how it got there, but I want to get rid of it. My whole SQL Server is
messed up now, I cannot even add a table or something like that.
I cannot drop it from Enterprise manager.
I cannot drop it with SQL, beca... more >>
|