Viewing 15 posts - 181 through 195 (of 254 total)
Ultimately I expect your program would prefer a single, comprehensive set of data. This can be accomplished using a UNION if you use CONVERT and AS on the columns to...
September 16, 2004 at 8:03 am
This sounds kind of like a good occasion for a linked server in SQL server or Oracle's equivalent should it have one (I would guess so). You can then code...
September 16, 2004 at 7:34 am
You can use osql as in the following post:
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=23&messageid=136563#bm136607
I seem to be getting a lot of mileage out of that post.
The down...
September 16, 2004 at 7:02 am
YourCmd.cmd =
osql -U username -P password -S SrvName -d dbName -n -i input1.sql -o 1.cmd osql -U username -P password -S SrvName -d dbName -n -i input2.sql -o 2.cmd osql -U username -P password -S SrvName -d dbName -n... |
September 16, 2004 at 6:19 am
Query Analyzer may have different settings for QUOTED_IDENTIFIER and ANSI_NULLS that what the stored procedure is defined to use. Generate the SQL for the SP so that you can see...
September 15, 2004 at 1:35 pm
exec sp_who
Assuming they are connecting to SQL Server using their own usernames instead of a shared username/password.
There are system tables, Enterprise Manager and other means of doing this as well.
September 15, 2004 at 1:25 pm
(edited : Never mind. I didn't know FREETEXTTABLE was a full text search related function. )
The problem isn't with that function. The actual problem...
September 15, 2004 at 1:22 pm
If it is log space you are concerned with (I'm assuming you have tons of available page space if you haven't shrunk the file yet after deleting all that data)...
September 15, 2004 at 9:51 am
Consider adding an unofficial foreign key to the Permanent table. You can then use the @Temp table approach I posted earlier except between the INSERT into the Permanent table and...
September 14, 2004 at 1:10 pm
You got me curious so I put the following script together. It generates SQL that will exec every Stored Procedure while reporting the execution plan (which doesn't ACTUALLY run the...
September 14, 2004 at 12:31 pm
Per http://www.winnetmag.com/SQLServer/Article/ArticleID/23160/23160.html the xp_eventlog proc doesn't work in SQL Server 2000. If you really wanted to you could use xp_cmdshell to run some OS program that would strip out the...
September 14, 2004 at 8:51 am
If ForeignKeyField is available from PendingInfo I don't see why you couldn't do the following three statements:
INSERT INTO PermanentInfoTable SELECT IdentityColumn, Value1 FROM PendingInfoTable
INSERT INTO PermanentInfoChildTable SELECT ForeignKeyField, Value2 FROM...
September 14, 2004 at 6:53 am
I'm not sure I understand the problem. If you mean a CMD or BAT script why not just make multiple calls to osql, one for each output file?
September 14, 2004 at 6:11 am
Disclaimer #1: I've never used Oracle.
Disclaimer #2: I'm not sure what you do and don't know how to do.
Disclaimer #3: I've never actually tried to create an object via a...
September 14, 2004 at 6:04 am
Viewing 15 posts - 181 through 195 (of 254 total)