516 Posted Topics

Member Avatar for vinayak.v

Your best bet is probably log shipping, where you restore the full database to the other server once, then at the interval you specify, the transaction log is backed up and restored to the other db. You'll need to be in full or bulk-logged recovery model for this. You'll also …

Member Avatar for buddylee17
0
163
Member Avatar for tadisaus2

That's an Access database. This is the MS SQL Server forum. Repost in the Access forum: [url]http://www.daniweb.com/forums/forum128.html[/url]

Member Avatar for buddylee17
0
102
Member Avatar for Ycefire

Open SQL Server Management Studio and right click the instance (probably "ServerName\SQLExpress"). Select properties. Select Connections. Verify that enable remote connections is checked. Open SQL Server Configuration Manager. On the left, click SQL Server Network Configuration -> Protocols for SQLEXPRESS. Enable TCP/IP and Named Pipes. Post back if you still …

Member Avatar for Ycefire
0
158
Member Avatar for moone009

Use a table variable and loop through it like an array: [code] DECLARE @ItemName VARCHAR(10) DECLARE @Address VARCHAR(100) DECLARE @Items TABLE (ItemName VARCHAR(10), Address VARCHAR(100)) INSERT @Items SELECT '95B046047' , '8 MALLORY GDNS' UNION ALL SELECT '95B045912' , '1157 OCONNOR DR' UNION ALL SELECT '95B045902' , '28 SENTINEL RD' UNION …

Member Avatar for buddylee17
0
164
Member Avatar for upstream

This should be fine. You will require a little more disk space. Ability to audit is more important than disk space though. As long as you don't rewrite your application to query this column regularly, you probably won't notice a difference in performance. If you do, modify your indexes to …

Member Avatar for buddylee17
0
209
Member Avatar for pkdaftari
Member Avatar for ilrnaz

You are storing duplicate information. Both tables contain Date, TeamId, and MemberId. You need a table for member, team, and a teammemberlink table.

Member Avatar for buddylee17
0
79
Member Avatar for michelhut

Access based forms only work on the desktop. You need to make a web based form with a web development language (asp.net, asp, coldfusion, php, jsp, ror,...)

Member Avatar for buddylee17
0
36
Member Avatar for judithSampathwa

Replace DateColumn with your actual date column [code] SELECT CAST(DateColumn AS DATE) AS DateOnly [/code] Also, if you are interested in formatting the date, there are many ways to do this. [URL="http://anubhavg.wordpress.com/2009/06/11/how-to-format-datetime-date-in-sql-server-2005/"]http://anubhavg.wordpress.com/2009/06/11/how-to-format-datetime-date-in-sql-server-2005/[/URL]

Member Avatar for buddylee17
0
180
Member Avatar for potsy

Have you looked into merge replication? This is exactly what merge replication is designed for.

Member Avatar for potsy
0
220
Member Avatar for lttleastig

Replace ColumnName and TableName with your column and table name: [code]SELECT SUBSTRING(HashBytes('MD5', ColumnName),1,19) [Hashed] FROM TableName[/code]

Member Avatar for lttleastig
0
783
Member Avatar for RicardoE

Backup the db before you try this. You'll also need to add a unique ID column if there's not one already. [code]DELETE FROM MyTable WHERE ID NOT IN ( SELECT MAX(ID) FROM MyTable GROUP BY DuplicateColumn1, DuplicateColumn2, DuplicateColumn3)[/code] [url]http://blog.sqlauthority.com/2007/03/01/sql-server-delete-duplicate-records-rows/[/url]

Member Avatar for buddylee17
0
85
Member Avatar for lttleastig

There are probably around 100 ways to do this. If you are new to SQL Server, the easiest way will probably be the export data task. From the Management Studio, right click on the database of the source table. Hover over "Tasks" and then select "Export Data..." Follow the instructions. …

Member Avatar for lttleastig
0
127
Member Avatar for judithSampathwa

There are many ways to do this, but here's one way to do it from the Management Studio: Under the server, expand security and expand Logins. Create a new login. Under Server Roles, keep the login as Public. Under User mapping, check the database that you want the user to …

Member Avatar for buddylee17
0
320
Member Avatar for shok

Use an Application Role: [url]http://www.sqlservercentral.com/articles/Security/sqlserversecurityprosandconsofapplicationroles/1116/[/url]

Member Avatar for buddylee17
0
145
Member Avatar for judithSampathwa

In SQL Server, you have 2 login options: 1.) Windows Authentication: No password allowed. The credentials used when logging in to the machine are pushed forward and verified by either the local machine or the Active Directory (if on a network) and then compared with credentials in the database to …

Member Avatar for judithSampathwa
0
594
Member Avatar for krishnisilva

See my post [URL="http://www.daniweb.com/forums/thread328978.html"]here[/URL]. The login can either be [list]Windows Authentication (network authenticates user)[/list] OR [list]SQL Server Authentication (password in sql server authenticates user)[/list] There is no mixed login. Mixed refers to the fact that SQL Server will authenticate either type of login. In the management studio, run the following …

Member Avatar for buddylee17
0
116
Member Avatar for gouki2005

I've created (and automated) many html email based reports using just T-SQL and Database Mail. I like using For XML PATH to turn a result set into an html formatted table. Try the following: [code] DECLARE @Table TABLE ( Column1 VARCHAR(9) NULL, Column2 VARCHAR(9) NULL ) INSERT @Table SELECT 'Col1Value', …

Member Avatar for buddylee17
0
103
Member Avatar for rairai979

SQLBulkCopy is only handy when the source and destination schemas match up. It sounds like you are trying to pump varchar or char into an int column. [quote]I have no control over the format of the text file, as it is an export of data from a vendor application.[/quote] I'd …

Member Avatar for buddylee17
0
127
Member Avatar for praveen_dusari

[URL="http://www.protware.com/"]This[/URL] site claims it can with something called the image gaurdian. Explanation copied from site: "Here comes the Image Guardian - it will split your images into pieces and will generate the appropriate code (which will be then encrypted by HTML Guardian) to display those pieces in your pages as …

Member Avatar for DanielTulp
0
828
Member Avatar for elanch

Make the exe in Visual Studio. Access is a desktop database platform, not a software developing platform.

Member Avatar for Petre
0
3K
Member Avatar for xsmedia
Member Avatar for zslatcher
1
272
Member Avatar for mrcniceguy

Use substr to get the first 20 characters of the string: [code=php] $first=substr($content,0,20); print $first; [/code] In this example, $content is the original paragraph, 0 is the starting point of the content to be returned, and 20 is the number of characters to be returned.

Member Avatar for Martin1077
0
611
Member Avatar for gym_shorts

Yeah I agree with Naveen. Do your redirect before any echo or print function, <doctype>, or <html> tag. This will also help keep the logic and design separate.

Member Avatar for riaver
0
3K
Member Avatar for Uma_fb

With Linux, this will be very difficult. If your server was running Windows, you could use COM. Refer to this thread:[url]http://www.daniweb.com/forums/thread141038.html[/url]

Member Avatar for prasadk123
0
1K
Member Avatar for Venom Rush

Absolutely. Try this. [code=html] <form action="whatever.php" method="POST" onsubmit="return confirm('Are you sure you want to submit this data?')"> [/code] Keep in mind, you'll still want to have some server side validation.

Member Avatar for rh solar
0
279
Member Avatar for TransKim
Member Avatar for tsemagi2006
0
135
Member Avatar for justinmyoung
Member Avatar for audioholic
0
97
Member Avatar for syarmil

Here is how to do it with CS3 Dreamweaver. I'm not sure if the wording will be exact for DW8 but it should be close. If you haven't done so in dreamweaver, create a new site. ([B]Site->New Site[/B]). Click [B]Advanced[/B] tab. Under [B]Local Info[/B], give it a [B]name[/B] of [B]localhost[/B] …

Member Avatar for Stefano Mtangoo
0
422
Member Avatar for dipankar.

I'm guessing you are coming from a SQL 2000 environment. If you want to write a query, just click the New Query button. You can also analyze the query in the Database Engine Tuning Advisor (Tools->Database Engine Tuning Advisor).

Member Avatar for dipankar.
0
148
Member Avatar for Vigasdeep

Each browser applies it's own default stylesheet to every page. The link below should point you in the right direction: [url]http://www.search-this.com/2007/03/12/no-margin-for-error/[/url]

Member Avatar for ko ko
-1
120
Member Avatar for rkrohit

Only center the contents of the body. The center tag should open after the body and close before the body is closed. No clue if this is going to fix your problem but it's invalid as is. Also note that the center tag has been deprecated.

Member Avatar for buddylee17
0
76
Member Avatar for sunshine12

The Vertical Line (Vertical Bar, Pipe) key (|) is the key that looks similar to a colon, but uses two lines instead of two dots. Press (shift)+(\). The easiest way to do this in dreamweaver design mode would be to click common-> table on the insert window. Create a table …

Member Avatar for MidiMagic
0
180
Member Avatar for K?!

This is supported in php. I'm not to sure if the keyword super is. Here's a simple example of this: [code=php] class Human { public $thirsty = 'Very thirsty!'; function drink($water) { $this->thirsty = 'Not thirsty!'; } } [/code]

Member Avatar for wrivera
0
181
Member Avatar for KamiArmand

You are referencing your PC's C drive for the javascript and css sources: [icode] <script src="[B]file:///C[/B]|/Documents and Settings/Armand/My Documents/Kami's Webpage/SpryAssets/SpryMenuBar.js" type="text/javascript"></script> <link href="[B]file:///C[/B]|/Documents and Settings/Armand/My Documents/Kami's Webpage/SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" /> <link href="[B]file:///C[/B]|/Documents and Settings/Armand/My Documents/Kami's Webpage/SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" /> [/icode] This will work fine when previewing locally, but once on …

Member Avatar for susamck
0
195
Member Avatar for Renaldob

It's unique to your area. Go to job sites like Monster.com or careerbuilder.com. Search different web development languages. Does coldfusion list 100 jobs? Does php? What about .net? If you are strictly learning a language for financial gain or employment security, this is what you should look into. Getting paid …

Member Avatar for bishopt
0
101
Member Avatar for buddylee17

Windows Server 2003 Standard Edition Service Pack 2 SQL Server 2005 Standard VS 2008 Hi everyone. I'm currently working on the following tutorial: [url]http://www.asp.net/Learn/Security/tutorial-04-cs.aspx[/url], but I get an error adding a SQL Server DB to the App_Data folder. I right click App_Data, click Add New Item, SQL Server Database I …

Member Avatar for Ramesh S
0
369
Member Avatar for Shanti C

[QUOTE]thanks for your reply... can i make these type of urls with out httpd.ini file...if so tel me how to do that??????[/QUOTE] You'll probably have to enable mod rewrite by uncommenting a line in the http.conf file located in apache/conf/ folder. You won't be able to mod rewrite without first …

Member Avatar for ultras1
0
414
Member Avatar for freshfitz

Right now you only have 1 radio group with only 1 possible value. Split them up by renaming from mainloop to mainloopH and mainloopA like below: [code=coldfusion] <td><div class="content_black"><cfinput type="radio" name="mainloopH" value="1" required="yes" message="Please select the right option">#Home_team#&nbsp;</td> <td><div class="content_black"><cfinput type="radio" name="mainloopA" value="0" required="yes" message="Please select the right option">#Away_team#&nbsp;</td> [/code]

Member Avatar for freshfitz
0
304
Member Avatar for sudheerkeshetty

So you want to add a static row after the query output? Post some code to give an idea of what you are trying to accomplish.

Member Avatar for buddylee17
0
126
Member Avatar for SQL_n00b

The lock is written into the query. You'll need to check into the correct syntax for your specific database.

Member Avatar for buddylee17
0
145
Member Avatar for khess

Might as well, after the failure of Vista to win fans over. Maybe this is some surrender tactic with future hopes of a WAMP buyout. Surrender your source code, if you want it to run on Windows. Apache will always dominate the web. We don't need a fancy gui, an …

Member Avatar for khess
0
163
Member Avatar for valonesal
Member Avatar for EvolutionFallen
0
149
Member Avatar for Designer_101

In flash you should have a dynamic text box. It should be assigned a Var name. Let's say the Var name is box. In php, you'll need to assign the output to a variable. I'll assign it to the variable $box. Then just echo it like so: [code=php] echo "&box=$box"; …

Member Avatar for chand.
0
111
Member Avatar for isak

[icode]<a href="\inventory.php?id=" . $id . "\"><?php echo $row_rsAllListings['element_1_1']; ?></a>[/icode] Why do you echo [noparse]$row_rsAllListings['element_1_1'][/noparse] but you don't echo [noparse]$id[/noparse]? Check the link href value after the page is loaded. I'm sure you'll spot the problem.

Member Avatar for isak
0
122
Member Avatar for ramsri05

Numeric datatypes will never have leading zeros. You could add a dummy number to the front and just remove with substr when outputting it. [code=php] $new_id1="12"; $new_id2="345"; $zero="0"; $id="1{$zero}{$zero}{$new_id1}{$new_id2}"; settype($id,"float"); echo $id; // outputs 10012345 echo"<br>"; $id = substr($id,1);//remove dummy number echo $id; // outputs 0012345 [/code]

Member Avatar for digital-ether
0
2K
Member Avatar for decay

Well, if the page is .htm and the server is not set up to parse php in .htm files, just use a meta refresh: [code=html] <html> <head> <meta http-equiv="refresh" content="2;url=http://www.yoursite.com/newpage.htm" /> <title>Page has moved</title> </head> [/code]

Member Avatar for decay
0
253
Member Avatar for cheapterp

Why do you need regex for this? Can you not use basic string functions like LEFT, MID, and RIGHT?

Member Avatar for cheapterp
0
152
Member Avatar for papermusic

You haven't specified an image: [icode]"<img src=/em/tutor/images/". [/icode] only specifies the folder that the image should be located.

Member Avatar for buddylee17
0
210
Member Avatar for NoID

[url]http://www.dreamincode.net/forums/showtopic10132.htm[/url] This tutorial is easy to follow and will teach you how to write a tab delimited text file with a xls extension in php. It uses basic php text file functions such as fopen and fwrite.

Member Avatar for almostbob
0
198

The End.