Forum Replies Created

Viewing 15 posts - 31 through 45 (of 79 total)

  • RE: 1 Report for 9 databases

    You need to clarify.

     

    Will the report (instance) contain data from only 1 database at a time?

    Or will it contain data from N number (2-9 in your example) of databases at...

  • RE: Tip: don''t forget sp_add_jobserver

    THANK YOU !! FOR POSTING THIS TIP. 

    I was in the same boat, thank goodness for "exact phrase" google searches.

    Here is my code...

  • RE: Linking identical tables in different databases...

    There is a way to specify the collation with the query.  I dont have books online at work with me (I'm in an oracle place right now).

    I suggest

    Make sure you...

  • RE: Cross-database keys?

    You can investiage using GUID (uniqueidentifier) as the PK (primary key) and FK (foreign key).

    And look into "link servers".

    You can't get a "real" PK/FK relationship accross databases.

    However, you could hack...

  • RE: Insert Into Select From Databases on 2 Servers

    Well.  this will help:

     

    select * from DBXServ.pubs.dbo.titles

    where DBXServ is ~~another server.

     

    Check out the

    "Identifying a Data Source Using a Linked Server Name" in Sql Server 2000 BOL.

    and

    "Inserting Rows Using SELECT INTO"

    and

    "How...

  • RE: Inserting rows into a table from a string list; a better way to do it?

     I have the same type UDF (user defined function)

     

    Insert into MyRealTable ( someField1 )

    SELECT ITEM FROM dbo.udf_10_comma_delimited_char('abc,def,ghi,jkl' , ',' )

    Its as simple as that.  The 8000 is...

  • RE: List fields in a table

    YOu can try this, if you want more specific info.

     

    I didn't write it.

    Check the URL where I found the code also:

     

     

     

    if exists

    (select

  • RE: comma separated values usage in where clause

    if exists

    (select * from sysobjects where id = object_id('dbo.udf_10_comma_delimited_char') and

  • RE: Using parameter values in an IN clause

    Try this

    The UDF is one I use alot, as alot of "old" db's use string values with a delim.  ....

     

    This is also an intro into @variableTables, one of teh coolest...

  • RE: Web Application Languages

    If you had any java experience at all, then go with C# (Microsoft).

    If you've had any VB experience at all, then go with VB.NET.

    If you have nothing, then I'd go...

  • RE: Gotchas with MSDE vs SQL-Server?

    A dot net web app is a great front end to an MSDE database because of the disconnected state of the dataset.

    If you have a VB6 forms app,then I'd be...

  • RE: Advantages of Table variables over Temp tables in Stored Procedure

    #tempTables also have nested scope.  Aka, if you call a recursive stored procedure OR you have prcA call prcB (and prcA defines the #tempTable), then prcB can use it also.

    The...

  • RE: Sending very large XML packets to server via web page

    That I dont' know.

    Maybe you can write a VBS script to try it, and see if its a CF issue or not.

    I've written one CF page in my life, to...

  • RE: Parse Full name into first and last name.

    Whenever I have a weirdo situation, I write a UDF to handle it.

    this will get you started. I wrote it up in a few minutes, so I didn't cover everything....

  • RE: Avoiding cursors, but...

    Maybe this can help:

    if exists (select * from sysobjects where id = object_id('dbo.fnc_10_parse_string') and xtype = 'TF')

     drop function dbo.fnc_10_parse_string

    GO

     

    CREATE  FUNCTION dbo.fnc_10_parse_string( @list varchar(8000))

    RETURNS @tablevalues TABLE

                   ( itemid int IDENTITY(1,1)  ,...

Viewing 15 posts - 31 through 45 (of 79 total)